mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 09:30:16 +01:00
autogen: use set -e to propagate errors
Previously we'd just blindly continue if e.g. autoreconf failed.
This commit is contained in:
parent
805fc3a864
commit
fe4e11c8d6
1 changed files with 7 additions and 3 deletions
10
autogen.sh
10
autogen.sh
|
|
@ -1,8 +1,12 @@
|
|||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
|
||||
set -e
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
if test -z "$srcdir"; then
|
||||
srcdir=.
|
||||
fi
|
||||
|
||||
olddir=`pwd`
|
||||
|
||||
|
|
@ -25,11 +29,11 @@ if test -d $srcdir/.git; then
|
|||
git submodule update
|
||||
fi
|
||||
|
||||
gtkdocize || exit 1
|
||||
gtkdocize
|
||||
autopoint --force
|
||||
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
|
||||
|
||||
cd $olddir
|
||||
if test -z "$NOCONFIGURE"; then
|
||||
$srcdir/configure --enable-maintainer-mode "$@"
|
||||
exec $srcdir/configure --enable-maintainer-mode "$@"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue