mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-01 13:55:36 +00: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
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…
Reference in a new issue