5 # This creates a temporary directory for transient files if such a directory
6 # does not already exist.
8 if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then echo creating temporary directory...; fi
10 if [ -z "$TMP" ]; then
11 # main declaration of the transients area.
15 source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
17 if [ ! -d "$TMP" ]; then
21 echo "failed to chown $TMP to user's ownership."
23 log_feisty_meow_event "created transient area \"$TMP\" for $USER on $(date_stringer)."
26 # set other temporary variables to the same place as TMP.
29 # Make sure no one else is playing around in the temporary directory.
31 continue_on_error chmodding to secure temporary directory.
33 if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then echo done creating temporary directory....; fi