+2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
+
+ Reviewed by eseidel. Committed by eseidel.
+
+ - build-webkit should exit with non-zero status when build fails
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
+
+ * Scripts/build-webkit:
+ Use correct bits of subprocess exit code when passing back through
+ as build-webkit's exit code.
+
2006-01-10 Eric Seidel <eseidel@apple.com>
Restored corrupted nibs from TOT CVS.
use Getopt::Long qw(:config pass_through);
use lib $FindBin::Bin;
use webkitdirs;
+use POSIX;
my $svgSupport = 1;
GetOptions('svg!' => \$svgSupport);
} else {
$result = system "xcodebuild", "-project", "$dir.xcodeproj", @options, @ARGV;
}
- exit $result if $result;
+ exit WEXITSTATUS($result) if WEXITSTATUS($result);
if ($dir eq "JavaScriptCore") {
$result = system "xcodebuild", "-project", "$dir.xcodeproj", "-target", "testkjs", @options, @ARGV;
- exit $result if $result;
+ exit WEXITSTATUS($result) if WEXITSTATUS($result);
}
chdir ".." or die;
}