Commit a0d698eb authored by bdash's avatar bdash

2006-11-04 Mark Rowe <bdash@webkit.org>

        Reviewed by Darin.

        Fix use of uninitialized value in pattern match.

        * Scripts/webkitdirs.pm:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8eb36210
2006-11-04 Mark Rowe <bdash@webkit.org>
Reviewed by Darin.
Fix use of uninitialized value in pattern match.
* Scripts/webkitdirs.pm:
2006-11-04 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
......
......@@ -84,8 +84,10 @@ sub determineBaseProductDir
open PRODUCT, "defaults read com.apple.Xcode PBXProductDirectory 2> /dev/null |" or die;
$baseProductDir = <PRODUCT>;
close PRODUCT;
chomp $baseProductDir if $baseProductDir;
undef $baseProductDir unless $baseProductDir =~ /^\//;
if ($baseProductDir) {
chomp $baseProductDir;
undef $baseProductDir unless $baseProductDir =~ /^\//;
}
} else {
$baseProductDir = $ENV{"WEBKITOUTPUTDIR"};
if (isCygwin() && $baseProductDir) {
......
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