Change-Id: Idd22f7d267b83e1a4f2cc6df9994d82a5d361df7
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
# `system', but also print the command
sub system_v
{
- print "+ ";
- print @_;
- print "\n";
+ print "+ @_\n";
return system(@_);
}
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) ;
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);