X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Frev_control.sh;h=291a1fcff5ebea6015b0c01c2a4a5f06f56f3008;hb=5caefd248674b4e0f927abfc7a28f2b298d90e9f;hp=f809f5f1513de993e598210f18a47eb83e949fa6;hpb=01ea4febc2ebc69c8e8ea4738a9bf9822a1aaa69;p=feisty_meow.git diff --git a/scripts/rev_control/rev_control.sh b/scripts/rev_control/rev_control.sh index f809f5f1..291a1fcf 100644 --- a/scripts/rev_control/rev_control.sh +++ b/scripts/rev_control/rev_control.sh @@ -7,7 +7,10 @@ # is a DOS path, but we need it to be a DOS path for our XSEDE testing, so that blows. # to get past this, TMP gets changed below to a hopefully generic and safe place. -export TMP=/tmp/rev_control_$USER +if [[ "$TMP" =~ .:.* ]]; then + echo making weirdo temporary directory for DOS path. + export TMP=/tmp/rev_control_$USER +fi if [ ! -d "$TMP" ]; then mkdir $TMP fi