5 # This creates a temporary directory for transient files if such a directory
6 # does not already exist.
8 if [ ! -z "$SHELL_DEBUG" ]; 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 LOG_FILE=$TMP/zz_transients.log
18 # log file for this script.
21 if [ ! -d "$TMP" ]; then
26 echo "failed to chown $TMP to user's ownership."
29 if [ -z "$LIGHTWEIGHT_INIT" ]; then
30 echo "$word transient area \"$TMP\" for $USER on $(date_stringer)." >>$LOG_FILE
33 # set other temporary variables to the same place as TMP.
36 # Make sure no one else is playing around in the temporary directory.
39 if [ ! -z "$SHELL_DEBUG" ]; then echo done creating temporary directory....; fi