From: Karel Zak Date: Tue, 19 Oct 2021 16:54:31 +0000 (+0200) Subject: build-sys: remove bashism X-Git-Tag: v2.38-rc1~218 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=30ec5b83e4211165470c53451ff742456fc69e74;p=thirdparty%2Futil-linux.git build-sys: remove bashism Addresses: https://github.com/karelzak/util-linux/issues/1476 Signed-off-by: Karel Zak --- diff --git a/autogen.sh b/autogen.sh index 14f8e23ba2..c71c0404d4 100755 --- a/autogen.sh +++ b/autogen.sh @@ -134,7 +134,7 @@ if test -f tools/libtool.m4.patch; then rm m4/libtool.m4 mv m4/libtool.m4.org m4/libtool.m4 fi - patch --batch --dry -p1 < tools/libtool.m4.patch &> /dev/null; + patch --batch --dry -p1 < tools/libtool.m4.patch > /dev/null 2>&1 if [ "$?" -eq 0 ]; then patch -p1 --batch < tools/libtool.m4.patch fi