summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-10-13 23:20:08 -0400
committerAllan McRae <allan@archlinux.org>2013-10-15 12:40:53 +1000
commit217aaaf3ea6d533ee77e4fad19d320c70a302382 (patch)
tree67edf6cff2558a8bc48a83c208bf23ca8c545e31
parented511b141f1680b52efe3338eb90a9598af0a4dd (diff)
downloadpacman-217aaaf3ea6d533ee77e4fad19d320c70a302382.tar.xz
autogen.sh: remove useless shell flag and subshells
$ ./autogen.sh ./autogen.sh: 3: ./autogen.sh: BASH_SOURCE: parameter not set The -u flag causes this (and lots of other mysterious problems). Since there aren't even any variables in this script, it makes no sense to use it. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
-rwxr-xr-xautogen.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 588e63dd..18fa641d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,6 @@
-#!/bin/sh -xu
+#!/bin/sh -x
autoreconf -i
-(cd build-aux && (patch -Np0 -i ltmain-asneeded.patch || true))
+patch -d build-aux -Np0 -i ltmain-asneeded.patch
+
+exit 0