From b9b8db07450bb61583a3e847d511e20f6a7e59bb Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 8 Nov 2012 14:56:39 +0100 Subject: fix argument quoting when invoking "proper" configure Change-Id: Idd22f7d267b83e1a4f2cc6df9994d82a5d361df7 Reviewed-by: Joerg Bornemann --- configure | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 23dc503e..221d63f7 100755 --- a/configure +++ b/configure @@ -73,9 +73,7 @@ sub ensureDir { # `system', but also print the command sub system_v { - print "+ "; - print @_; - print "\n"; + print "+ @_\n"; return system(@_); } @@ -90,7 +88,7 @@ if (! -e "$relpath/qtbase/configure") { ensureDir("$outpath/qtbase"); chdir("$outpath/qtbase"); -my $ret = system_v("$relpath/qtbase/configure @ARGV"); +my $ret = system_v("$relpath/qtbase/configure", @ARGV); if ($ret != 0) { print "*** qtbase/configure exited with non-zero status.\n"; exit ($ret>>8) ; @@ -98,5 +96,5 @@ if ($ret != 0) { chdir("$outpath"); -$ret = system_v("$outpath/qtbase/bin/qmake $relpath/qt.pro"); +$ret = system_v("$outpath/qtbase/bin/qmake", "$relpath/qt.pro"); exit ($ret>>8); -- cgit v1.2.3