aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index fc58acef6..dcb9ff9f4 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_args[@]}")
+ # 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"