From: Jan Engelhardt Date: Sat, 3 Dec 2011 04:31:01 +0000 (-0200) Subject: autogen: use "$@" and exec last program X-Git-Tag: v1~130 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a66a0c37afee0a577ff2e8b1d6c77610dc4ce02b;p=thirdparty%2Fkmod.git autogen: use "$@" and exec last program --- diff --git a/autogen.sh b/autogen.sh index 3a339fb2..bfb165ca 100755 --- a/autogen.sh +++ b/autogen.sh @@ -23,5 +23,5 @@ args="--prefix=/usr \ --libdir=$(libdir /usr/lib)" if [ -z "$NOCONFIGURE" ]; then - ./configure $args CFLAGS="${MYCFLAGS} ${CFLAGS}" $@ + exec ./configure $args CFLAGS="${MYCFLAGS} ${CFLAGS}" "$@" fi