new script to take a domain name off of a fully qualified hostname.
[feisty_meow.git] / scripts / rev_control / rev_control.sh
index 84a5039345f317b5c2c0b91bc0370e2c606aab1a..291a1fcff5ebea6015b0c01c2a4a5f06f56f3008 100644 (file)
@@ -7,7 +7,7 @@
 # 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.
 
-if [[ $TMP =~ .:.* ]]; then
+if [[ "$TMP" =~ .:.* ]]; then
   echo making weirdo temporary directory for DOS path.
   export TMP=/tmp/rev_control_$USER
 fi