[patch] check exit status of autotools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make sure each autotool run in autogen.sh worked and if not, abort.
Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
diff --git a/autogen.sh b/autogen.sh
index d730a96..5ef9e8b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -60,6 +60,7 @@ test -f mount/mount.c || {
 	exit 1
 }
 
+set -e
 autopoint --force
 libtoolize --copy --force
 aclocal -I m4
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux