From: Chris Koeritz Date: Sat, 6 Oct 2012 22:28:11 +0000 (-0400) Subject: fixed path. X-Git-Tag: 2.140.90~1198 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=f0948278c299055f3add07f3f245d087a54e4aaa;p=feisty_meow.git fixed path. --- diff --git a/scripts/rev_control/rev_control.sh b/scripts/rev_control/rev_control.sh index f809f5f1..84a50393 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