[syslog-ng] [PATCH][ivykis] configure.gnu: Quote $@, so that parameters are passed correctly.

Gergely Nagy algernon at balabit.hu
Fri Jan 28 11:36:10 CET 2011


When a parent configure calls ivykis' configure.gnu, some parameters
might contain spaces (for example, CFLAGS="-ggdb3 -O0"), and without
quoting $@, these will end up as separate options passed down to the
real configure. With quoting, however, the parameters will be passed
along as-is, without breaking them up.

Signed-off-by: Gergely Nagy <algernon at balabit.hu>
---
 configure.gnu |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.gnu b/configure.gnu
index 99dd8a7..4fb578f 100644
--- a/configure.gnu
+++ b/configure.gnu
@@ -4,4 +4,4 @@ echo $0
 
 configure="`dirname $0`/`basename $0 .gnu`"
 echo "Running: " $configure $@ --disable-shared --enable-static --with-pic
-$SHELL $configure $@ --disable-shared --enable-static --with-pic
+$SHELL $configure "$@" --disable-shared --enable-static --with-pic
-- 
1.7.0.4



More information about the syslog-ng mailing list