Skip to content

Commit ca7776c

Browse files
committed
fix quoting
1 parent ae7e73d commit ca7776c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cli-common-create-site.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ DATASET="${1:?Usage: $0 <dataset>}"
88
BASE_URL=https://opentdatach.github.io/data
99

1010
# STEP 1 - Rehydrate everything from the previous site EXCEPT $DATASET/*
11-
curl -fsL -o /tmp/manifest.txt '$BASE_URL/__manifest.txt' 2>/dev/null || : > /tmp/manifest.txt
11+
curl -fsL -o /tmp/manifest.txt $BASE_URL/__manifest.txt 2>/dev/null || : > /tmp/manifest.txt
1212
cat /tmp/manifest.txt
1313
if [ -s /tmp/manifest.txt ]; then
1414
while IFS= read -r rel_path; do
@@ -21,8 +21,8 @@ if [ -s /tmp/manifest.txt ]; then
2121
continue
2222
fi
2323

24-
mkdir -p "$DIR/site/$(dirname "$rel_path")"
25-
curl -fL "$BASE_URL/$rel_path" -o "$DIR/site/$rel_path" || true
24+
mkdir -p $DIR/site/$(dirname "$rel_path")
25+
curl -fL $BASE_URL/$rel_path -o $DIR/site/$rel_path || true
2626
done < /tmp/manifest.txt
2727
fi
2828

0 commit comments

Comments
 (0)