From 01ad35fa163e2ad14cb2517279464d6f405d3a4f Mon Sep 17 00:00:00 2001 From: Jon-William Lewis Date: Fri, 2 Sep 2016 22:17:54 -0500 Subject: [PATCH] Changed default TMP_DIR to /tmp, as /tmp is usually in memory. --- src/header.src.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/header.src.sh b/src/header.src.sh index 5fec337..47ba0f7 100644 --- a/src/header.src.sh +++ b/src/header.src.sh @@ -24,14 +24,17 @@ readonly PROD_STR="Simple Note System" readonly VER_STR="v2.0a12" readonly ROOT_DIR="$HOME"/.local/sns readonly NOTES_DIR="$ROOT_DIR"/notes -readonly TMP_DIR="$ROOT_DIR"/tmp +readonly TMP_DIR=/tmp readonly CONFIG_FILE="$ROOT_DIR/sns.conf" -#Color codes for messages +# Color codes for messages readonly RED_COLOR='\033[1;31m' readonly YELLOW_COLOR='\033[1;33m' readonly RESET_COLOR='\033[0m' +# Signals +NO_HEADER="" + #Print the program header to stdout printf "%s\n" "$PROD_STR" printf "%s\n" "------------------"