Created
June 2, 2009 14:38
-
-
Save torarnv/122262 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 42cecee83d91ab35d713f94954c06ee4f532782f | |
Author: Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | |
Date: Tue Jun 2 16:37:15 2009 +0200 | |
[Qt] Fix Perl warning about uninitialized value (passedConfiguration()) | |
diff --git a/WebKitTools/Scripts/webkitdirs.pm b/WebKitTools/Scripts/webkitdirs.pm | |
index c79df86..c221d0e 100644 | |
--- a/WebKitTools/Scripts/webkitdirs.pm | |
+++ b/WebKitTools/Scripts/webkitdirs.pm | |
@@ -1162,7 +1162,8 @@ sub buildQMakeProject($@) | |
push @buildArgs, "CONFIG+=debug"; | |
} else { | |
push @buildArgs, "CONFIG+=release"; | |
- if (!isDarwin() || passedConfiguration() =~ m/release/i) { | |
+ my $passedConfig = passedConfiguration() || ""; | |
+ if (!isDarwin() || $passedConfig =~ m/release/i) { | |
push @buildArgs, "CONFIG-=debug"; | |
} else { | |
push @buildArgs, "CONFIG+=debug_and_release"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment