From 217aaaf3ea6d533ee77e4fad19d320c70a302382 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 13 Oct 2013 23:20:08 -0400 Subject: [PATCH] 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 Signed-off-by: Allan McRae --- autogen.sh | 6 ++++-- 1 file 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