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

Daniel P. Berrange berrange at redhat.com
Fri Apr 30 17:07:16 UTC 2010


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 :|




More information about the libvir-list mailing list