From: Avi Kivity <[email protected]>

dash doesn't support arrays.

Signed-off-by: Avi Kivity <[email protected]>

diff --git a/configure b/configure
index fc58ace..dcb9ff9 100755
--- a/configure
+++ b/configure
@@ -1400,11 +1400,13 @@ fi
 
 if test -f kvm/kernel/configure; then
     kvm_kmod="yes"
-    kmod_args=()
+    kmod_args=""
     if test -n "$kerneldir"; then
-       kmod_args+=("--kerneldir=$kerneldir")
+       kmod_args="--kerneldir=$kerneldir"
     fi
-    (cd kvm/kernel; ./configure "${kmod_ar...@]}")
+    # hope there are no spaces in kmod_args; can't use arrays because of
+    # dash.
+    (cd kvm/kernel; ./configure $kmod_args)
 fi
 
 echo "Install prefix    $prefix"
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to