]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
autobuild.sh: provide default prefix
authorEric Blake <eblake@redhat.com>
Fri, 30 Apr 2010 16:57:10 +0000 (10:57 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 30 Apr 2010 17:13:06 +0000 (11:13 -0600)
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

index d3934ead1c2e6c16656d2e7d5183976e0e121b47..3379be47f1b81de3a79b375f3e25f8a8cbe154ea 100755 (executable)
@@ -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