File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
REPO_DIR=" /afs/sipb.mit.edu/project/hydrant/hydrant"
11
11
12
12
# The output directory, i.e. the one that has the folder being served to the
13
- # internet. In the locker, this is ~/web-scripts /hydrant.
13
+ # internet. In the locker, this is ~/web_scripts /hydrant.
14
14
OUT_DIR=" /afs/sipb.mit.edu/project/hydrant/web_scripts/hydrant"
15
15
16
16
cd " $REPO_DIR /scrapers"
@@ -23,7 +23,7 @@ git pull -q
23
23
# The scripts machine we use has Python 3.7, so use that.
24
24
# This updates $OUT_FILE.
25
25
python3.7 update.py
26
- OUT_FILE=" $REPO_DIR /public/latest .json"
26
+ OUT_FILE=" $REPO_DIR /public/* .json"
27
27
28
28
# Copy $OUT_FILE to the output directory, so it can be served to the internet.
29
- cp " $OUT_FILE " " $OUT_DIR "
29
+ cp $OUT_FILE " $OUT_DIR "
You can’t perform that action at this time.
0 commit comments