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 3a339fb..bfb165c 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