diff options
1 files changed, 2 insertions, 1 deletions
| -rwxr-xr-x | csg | 3 |
@@ -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!" \ |
