about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@cardoe.com>2016-12-02 11:25:43 -0600
committerDoug Goldstein <cardoe@cardoe.com>2016-12-02 11:25:43 -0600
commitf83eb4009e3e5a52bcb2dddc9fa7764aa9c12841 (patch)
tree0dfd963e8ed4dcae0e016ec089fe7fbaca04ac0b
parente39c8d6dc8d55a4b8681d52d58305645ceefdf0d (diff)
downloadrust-f83eb4009e3e5a52bcb2dddc9fa7764aa9c12841.tar.gz
rust-f83eb4009e3e5a52bcb2dddc9fa7764aa9c12841.zip
configure: quote variables
These should probably be quoted.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index e49b081a3de..483471604cb 100755
--- a/configure
+++ b/configure
@@ -1474,7 +1474,7 @@ fi
 step_msg "configuring submodules"
 
 # Have to be in the top of src directory for this
-if [ -z $CFG_DISABLE_MANAGE_SUBMODULES ] && [ -z $CFG_ENABLE_RUSTBUILD ]
+if [ -z "$CFG_DISABLE_MANAGE_SUBMODULES" ] && [ -z "$CFG_ENABLE_RUSTBUILD" ]
 then
     cd ${CFG_SRC_DIR}
 
@@ -1550,7 +1550,7 @@ do
     then
         msg "not configuring LLVM, rustbuild in use"
         do_reconfigure=0
-    elif [ -z $CFG_LLVM_ROOT ]
+    elif [ -z "$CFG_LLVM_ROOT" ]
     then
         LLVM_BUILD_DIR=${CFG_BUILD_DIR}$t/llvm
         LLVM_INST_DIR=$LLVM_BUILD_DIR