updated bash

This commit is contained in:
Frederik Baerentsen 2022-07-15 09:56:22 +02:00
parent e3f51d18c9
commit e677381d10

View File

@ -25,7 +25,9 @@ python2 update_missing.py
#mv "$d"".mcl" "$d""_latest.mcl" || error_exit "cannot cp $d to latest"
mv "$fromdate""_latest.mcl" "archive/""$fromdate"".mcl" || error_exit "cannot mv to archive"
git add "$d""_latest.mcl" "archive/" "*" >> "log/$d.log" || error_exit "cannot git add"
git add "$d""_latest.mcl" "archive/" "log/" >> "log/$d.log" || error_exit "cannot git add"
git rm "$fromdate""_latest.mcl" >> "log/$d.log" || error_exit "cannot git rm"
git commit -m "Updated $d" >> "log/$d.log" || error_exit "cannot git commit"