From f0948278c299055f3add07f3f245d087a54e4aaa Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 6 Oct 2012 18:28:11 -0400 Subject: [PATCH] fixed path. --- scripts/rev_control/rev_control.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.34.1