[libvirt] [PATCH] autobuild.sh: provide default prefix

Eric Blake eblake at redhat.com
Fri Apr 30 16:58:24 UTC 2010


Without this patch and with a clean environment, ./autobuild.sh
tried to use ./configure --prefix=/, and fails.

* autobuild.sh (AUTOBUILD_INSTALL_ROOT): Provide sensible
default.  Suggested by Daniel P. Berrange.
---
 autobuild.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/autobuild.sh b/autobuild.sh
index d3934ea..3379be4 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -6,6 +6,7 @@ set -v
 # Make things clean.

 test -n "$1" && RESULTS=$1 || RESULTS=results.log
+: ${AUTOBUILD_INSTALL_ROOT=$HOME/builder}

 test -f Makefile && make -k distclean || :
 rm -rf coverage
-- 
1.6.6.1




More information about the libvir-list mailing list