From: Eric Blake Date: Fri, 30 Apr 2010 16:57:10 +0000 (-0600) Subject: autobuild.sh: provide default prefix X-Git-Tag: v0.8.2~349 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94f7144183c1c47251cf82a8a54c62922fb1dcf2;p=thirdparty%2Flibvirt.git autobuild.sh: provide default prefix 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. --- diff --git a/autobuild.sh b/autobuild.sh index d3934ead1c..3379be47f1 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