X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Frev_control.sh;h=291a1fcff5ebea6015b0c01c2a4a5f06f56f3008;hb=5fcf7d67cfb71b82a1326b3894076c3fab253127;hp=6f4a1b41bfd6bdd0432ca1836fc5308184f644d2;hpb=37ff5eee71312893b981aed1a3998520007de5b5;p=feisty_meow.git diff --git a/scripts/rev_control/rev_control.sh b/scripts/rev_control/rev_control.sh index 6f4a1b41..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 +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