repo: ngircd
action: commit
revision: 
path_from: 
revision_from: c56138c2808bdfc22811c5617c58b149f7725e62:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit c56138c2808bdfc22811c5617c58b149f7725e62
Author: Alexander Barton 
Date:   Thu Aug 27 00:10:41 2015 +0200

    autogen.sh: Fix parameter quoting

diff --git a/autogen.sh b/autogen.sh
index cab3ca62c573e6da0ea81fe05a9c65371a999e58..
index ..6323752a650b2d24d32ccca6182ead8a9d47f541 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -109,8 +109,8 @@ Notfound()

 Run()
 {
-	[ "$VERBOSE" = "1" ] && echo " - running \"$@\" ..."
-	$@
+	[ "$VERBOSE" = "1" ] && echo " - running \"$*\" ..."
+	"$@"
 }

 # Reset locale settings to suppress warning messages of Perl
@@ -157,7 +157,7 @@ AUTOMAKE_VERSION=`echo $AUTOMAKE | cut -d'-' -f2-`
 	&& export AUTOMAKE_VERSION || unset AUTOMAKE_VERSION
 [ "$VERBOSE" = "1" ] && echo " - AUTOMAKE_VERSION=$AUTOMAKE_VERSION"

-[ $# -gt 0 ] && CONFIGURE_ARGS=" $@" || CONFIGURE_ARGS=""
+[ $# -gt 0 ] && CONFIGURE_ARGS=" $*" || CONFIGURE_ARGS=""
 [ -z "$GO" -a -n "$CONFIGURE_ARGS" ] && GO=1

 # Verify that all tools have been found

-----END OF PAGE-----