Fix bash-isms.
authorDan Gohman <gohman@apple.com>
Tue, 24 Mar 2009 20:21:37 +0000 (20:21 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 24 Mar 2009 20:21:37 +0000 (20:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67647 91177308-0d34-0410-b5e6-96231b3b80d8

projects/sample/autoconf/AutoRegen.sh

index c9cc905cd09e7997e28b79b03e052d40061a5c12..7c04715cdf444a0cc7281a6fad909ea52516f55d 100755 (executable)
@@ -25,11 +25,11 @@ elif test -d ../../llvm/autoconf/m4 ; then
 else
   while true ; do
     echo "LLVM source root not found." 
-    read -p "Enter full path to LLVM source:"
+    read -p "Enter full path to LLVM source:" REPLY
     if test -d "$REPLY/autoconf/m4" ; then
       llvm_src_root="$REPLY"
       llvm_m4="$REPLY/autoconf/m4"
-      read -p "Enter full path to LLVM objects (empty for same as source):"
+      read -p "Enter full path to LLVM objects (empty for same as source):" REPLY
       if test -d "$REPLY" ; then
         llvm_obj_root="$REPLY"
       else