updated count
[feisty_meow.git] / scripts / rev_control / rev_control.sh
index 6f4a1b41bfd6bdd0432ca1836fc5308184f644d2..291a1fcff5ebea6015b0c01c2a4a5f06f56f3008 100644 (file)
@@ -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