icoutils/0004-bootstrap-Use-set-e-to-check-for-errors.patch

34 lines
787 B
Diff
Raw Normal View History

From 4b83e0d7668b26490271290af2e96898535d1680 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Thu, 9 Mar 2017 12:14:56 +0000
Subject: [PATCH 04/26] bootstrap: Use 'set -e' to check for errors.
Using 'set -e' we can avoid writing everything on a single
line and using &&.
This makes no semantic change to the file.
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
---
bootstrap | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/bootstrap b/bootstrap
index 0f174ee..816fd63 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,3 +1,9 @@
#!/bin/sh
-aclocal -I m4 && autoheader && libtoolize --force -c && automake -a -c && autoconf
+set -e
+
+aclocal -I m4
+autoheader
+libtoolize --force -c
+automake -a -c
+autoconf
--
2.10.2