diff options
-rwxr-xr-x[-rw-r--r--] | cronjob.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cronjob.sh b/cronjob.sh index 70c0b6e..4c362c4 100644..100755 --- a/cronjob.sh +++ b/cronjob.sh @@ -6,7 +6,7 @@ BASEPATH=$(dirname $0) mkdir -p "$OUTPUT" -luajit $BASEPATH/gitexporter.lua "$INPUT" "$OUTPUT" +luajit $BASEPATH/gitexporter.lua "$INPUT" "$OUTPUT" || exit 0 cd "$OUTPUT" @@ -18,6 +18,6 @@ rm -rf BBT BBT_demo birchbay EldersValley lavacity trapcity personhood git add . -git commit -m "State at $(date +%Y-%m-%d)"" +git commit -m "State at $(date +%Y-%m-%d)" git push rm -rf * |