]> err.no Git - util-linux/commitdiff
check exit status of autotools
authorMike Frysinger <vapier@gentoo.org>
Tue, 10 Apr 2007 14:54:22 +0000 (10:54 -0400)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Apr 2007 08:58:12 +0000 (10:58 +0200)
Make sure each autotool run in autogen.sh worked and if not, abort.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
autogen.sh

index d730a96a0841e6f10292231c9259c9e35de3eaf9..5ef9e8be267649b9e542db3fc0a4f4a2ba303e3b 100755 (executable)
@@ -60,6 +60,7 @@ test -f mount/mount.c || {
        exit 1
 }
 
+set -e
 autopoint --force
 libtoolize --copy --force
 aclocal -I m4