projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3226828
)
fixed path.
author
Chris Koeritz
<fred@gruntose.com>
Sat, 6 Oct 2012 22:28:11 +0000
(18:28 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sat, 6 Oct 2012 22:28:11 +0000
(18:28 -0400)
scripts/rev_control/rev_control.sh
patch
|
blob
|
history
diff --git
a/scripts/rev_control/rev_control.sh
b/scripts/rev_control/rev_control.sh
index f809f5f1513de993e598210f18a47eb83e949fa6..84a5039345f317b5c2c0b91bc0370e2c606aab1a 100644
(file)
--- 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