[vmkit-commits] [vmkit] r186832 - Bug fixed: Implicit assumption of the Bash Shell. Made the AutoRegen.sh script more portable across shells.
Koutheir Attouchi
koutheir at gmail.com
Mon Jul 22 08:55:21 PDT 2013
Author: koutheir
Date: Mon Jul 22 10:55:21 2013
New Revision: 186832
URL: http://llvm.org/viewvc/llvm-project?rev=186832&view=rev
Log:
Bug fixed: Implicit assumption of the Bash Shell. Made the AutoRegen.sh script more portable across shells.
Modified:
vmkit/trunk/autoconf/AutoRegen.sh
Modified: vmkit/trunk/autoconf/AutoRegen.sh
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/autoconf/AutoRegen.sh?rev=186832&r1=186831&r2=186832&view=diff
==============================================================================
--- vmkit/trunk/autoconf/AutoRegen.sh (original)
+++ vmkit/trunk/autoconf/AutoRegen.sh Mon Jul 22 10:55:21 2013
@@ -25,11 +25,11 @@ elif test -d ../../llvm/autoconf/m4 ; th
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:" -r 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):" -r REPLY
if test -d "$REPLY" ; then
llvm_obj_root="$REPLY"
else
More information about the vmkit-commits
mailing list