[libvirt] [PATCH] 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. --- 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

On Fri, Apr 30, 2010 at 10:58:24AM -0600, Eric Blake wrote:
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
ACK Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

On 04/30/2010 11:07 AM, Daniel P. Berrange wrote:
+++ 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
ACK
Pushed. Looks like the first post-release patch :) -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org

On Fri, Apr 30, 2010 at 11:20:58AM -0600, Eric Blake wrote:
On 04/30/2010 11:07 AM, Daniel P. Berrange wrote:
+++ 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
ACK
Pushed. Looks like the first post-release patch :)
yup :-) Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
participants (3)
-
Daniel P. Berrange
-
Daniel Veillard
-
Eric Blake