diff options
author | gpcf <gpcf@gpcf.eu> | 2024-10-15 21:56:05 +0200 |
---|---|---|
committer | gpcf <gpcf@gpcf.eu> | 2024-10-15 21:56:05 +0200 |
commit | 524e116bf6510dcfa35a0cbe46500a9e6d0b28f6 (patch) | |
tree | 7ee1479efea96a104bb9dad41a1389f767a461e6 | |
parent | d5b73b7b14ceaebbfbd5e5d243d287b2f63d21a4 (diff) | |
download | advtrains_gitexporter-524e116bf6510dcfa35a0cbe46500a9e6d0b28f6.tar.gz advtrains_gitexporter-524e116bf6510dcfa35a0cbe46500a9e6d0b28f6.tar.bz2 advtrains_gitexporter-524e116bf6510dcfa35a0cbe46500a9e6d0b28f6.zip |
fix cronjob script
-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 * |