File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ DATASET="${1:?Usage: $0 <dataset>}"
88BASE_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
1212cat /tmp/manifest.txt
1313if [ -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
2727fi
2828
You can’t perform that action at this time.
0 commit comments