Skip to content

Commit

Permalink
Ensure autogen.sh exists if bootstrap fails
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
berrange committed Sep 20, 2012
1 parent 3b72650 commit d4170df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

set -e

srcdir=`dirname "$0"`
test -z "$srcdir" && srcdir=.

Expand Down

0 comments on commit d4170df

Please sign in to comment.