[pacman-dev] [PATCH] autogen.sh: remove useless shell flag and subshells
14 Oct
2013
14 Oct
'13
3:20 a.m.
From a bash shell where /bin/sh -> /bin/dash: $ ./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> --- autogen.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 588e63d..18fa641 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 -- 1.8.4
4092
Age (days ago)
4092
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dave Reisner