diff options
author | 2012-09-19 18:45:24 +0100 | |
---|---|---|
committer | 2012-09-20 15:58:29 +0100 | |
commit | d4170dfad3aff11d7be1f55f1e32c82d335b35d7 (patch) | |
tree | c8f1366cb9628abb2f880a0b3670f994b04f734f | |
parent | tests: Add tests for dump-core option (diff) | |
download | libvirt-d4170dfad3aff11d7be1f55f1e32c82d335b35d7.tar.gz libvirt-d4170dfad3aff11d7be1f55f1e32c82d335b35d7.tar.bz2 libvirt-d4170dfad3aff11d7be1f55f1e32c82d335b35d7.zip |
Ensure autogen.sh exists if bootstrap fails
If any of the bootstrap tasks (autoconf/automake/etc) failed,
autogen.sh carried on running any pre-existing configure anyway.
Use 'set -e' to ensure autogen.sh immediately exists on error.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index 13df98b57..72f1e7a1a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,8 @@ #!/bin/sh # Run this to generate all the initial makefiles, etc. +set -e + srcdir=`dirname "$0"` test -z "$srcdir" && srcdir=. |