]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
autogen: use "$@" and exec last program
authorJan Engelhardt <jengelh@medozas.de>
Sat, 3 Dec 2011 04:31:01 +0000 (02:31 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Sat, 3 Dec 2011 04:32:36 +0000 (02:32 -0200)
autogen.sh

index 3a339fb203cbe7c9110f4a04b8944cd45707bf1b..bfb165ca199acd88a067261bf8fa50d1c217d4a6 100755 (executable)
@@ -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