From: Chris Koeritz Date: Tue, 30 Oct 2018 00:41:12 +0000 (-0400) Subject: switched to non-verbose mode for temp dir X-Git-Tag: 2.140.115^2~74 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=fe1167f15eb5154e816953d72b7f8f1df83001c4 switched to non-verbose mode for temp dir now it just blatts out a noise if creating the $TMP directory, and it uses the feisty meow event log rather than a boutique specialty file. --- diff --git a/scripts/core/create_tempdir.sh b/scripts/core/create_tempdir.sh index 6dbd31c3..d1d28aaa 100644 --- a/scripts/core/create_tempdir.sh +++ b/scripts/core/create_tempdir.sh @@ -14,19 +14,14 @@ fi source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" -LOG_FILE=$TMP/zz_transients.log - # log file for this script. - -word=Verified if [ ! -d "$TMP" ]; then mkdir -p $TMP - word=Created chown $USER $TMP if [ $? -ne 0 ]; then echo "failed to chown $TMP to user's ownership." fi + log_feisty_meow_event "created transient area \"$TMP\" for $USER on $(date_stringer)." fi -echo "$word transient area \"$TMP\" for $USER on $(date_stringer)." >>$LOG_FILE # set other temporary variables to the same place as TMP. export TEMP=$TMP