Commit 492deb4c authored by dbates@webkit.org's avatar dbates@webkit.org

Fix Perl undefined variable warning when using run-safari after

<http://trac.webkit.org/changeset/96448> (https://bugs.webkit.org/show_bug.cgi?id=68662)

Rubber-stamped by Alexey Proskuryakov.

* Scripts/webkitdirs.pm:
(runMacWebKitApp): Check that the optional function argument $useOpenCommand
is defined before using it in a comparison operation.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 57cfd40e
2011-10-04 Daniel Bates <dbates@rim.com>
Fix Perl undefined variable warning when using run-safari after
<http://trac.webkit.org/changeset/96448> (https://bugs.webkit.org/show_bug.cgi?id=68662)
Rubber-stamped by Alexey Proskuryakov.
* Scripts/webkitdirs.pm:
(runMacWebKitApp): Check that the optional function argument $useOpenCommand
is defined before using it in a comparison operation.
2011-10-04 Scott Graham <scottmg@chromium.org>
Add GAMEPAD feature flag
......@@ -2023,7 +2023,7 @@ sub runMacWebKitApp($;$)
print "Starting @{[basename($appPath)]} with DYLD_FRAMEWORK_PATH set to point to built WebKit in $productDir.\n";
$ENV{DYLD_FRAMEWORK_PATH} = $productDir;
$ENV{WEBKIT_UNSET_DYLD_FRAMEWORK_PATH} = "YES";
if ($useOpenCommand == USE_OPEN_COMMAND) {
if (defined($useOpenCommand) && $useOpenCommand == USE_OPEN_COMMAND) {
return system("open", "-W", "-a", $appPath, "--args", @ARGV);
}
if (architecture()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment