aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-04-30 10:57:10 -0600
committerEric Blake <eblake@redhat.com>2010-04-30 11:13:06 -0600
commit94f7144183c1c47251cf82a8a54c62922fb1dcf2 (patch)
treeccaa09c3906955984dfba2aabc249134631be61f /autobuild.sh
parentRelease of libvirt-0.8.1 (diff)
downloadlibvirt-94f7144183c1c47251cf82a8a54c62922fb1dcf2.tar.gz
libvirt-94f7144183c1c47251cf82a8a54c62922fb1dcf2.tar.bz2
libvirt-94f7144183c1c47251cf82a8a54c62922fb1dcf2.zip
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.
Diffstat (limited to 'autobuild.sh')
-rwxr-xr-xautobuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/autobuild.sh b/autobuild.sh
index d3934ead1..3379be47f 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