Verified Commit 5b1eeefd authored by CompileNix's avatar CompileNix

fix minor stuff in run.sh

parent 694b6408
......@@ -22,11 +22,12 @@ do
echo "$currentDateTime"
node index.js $*
echo
mv tmp.html "${targetPath}/archive/${currentDateTimeFormated}.html"
# mv tmp.json "${targetPath}/archive/${currentDateTimeFormated}.json"
mv tmp.json "${targetPath}/archive/${currentDateTimeFormated}.json"
pushd "$targetPath"
# ln -sf "archive/${currentDateTimeFormated}.json" index.json
ln -sf "archive/${currentDateTimeFormated}.json" index.json
ln -sf "archive/${currentDateTimeFormated}.html" index.html
popd
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment