Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 2 insertions, 1 deletions
-rwxr-xr-xcsg3
diff --git a/csg b/csg
index a548c9e..5c96dff 100755
--- a/csg
+++ b/csg
@@ -26,7 +26,7 @@ Arguments:
Variables (you can predefine):
CSG_TIMESTAMP_FILE File path for git-based timestamps (when git exists)
Default: "./timestamps.txt"
- Disable: ""
+ Disable: "none"
CSG_TMP_DIR Directory to put temporary files
Default: "/tmp"
CSG_AWK awk executable and flags
@@ -73,6 +73,7 @@ AWKSCRIPTS="$5"
### "Global" variables
: ${CSG_TIMESTAMP_FILE:="$(realpath ./timestamps.txt)"}
+[ "$CSG_TIMESTAMP_FILE" = 'none' ] && CSG_TIMESTAMP_FILE=""
: ${CSG_TMP_DIR:='/tmp'}
[ ! -d "$CSG_TMP_DIR" ] && echo "[Error] $CSG_TMP_DIR (\$CSG_TMP_DIR) doesn't exist!" \