Skip to content

Commit 997c29e

Browse files
committed
Reviewed by Stephanie.
Add a special case for the Internal makefiles, so it can find the OepnSource. * Scripts/webkitdirs.pm: Canonical link: https://commits.webkit.org/14675@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent b8dd932 commit 997c29e

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

WebKitTools/ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2006-10-30 Timothy Hatcher <timothy@apple.com>
2+
3+
Reviewed by Stephanie.
4+
5+
Add a special case for the Internal makefiles, so it can find the OepnSource.
6+
7+
* Scripts/webkitdirs.pm:
8+
19
2006-10-30 Stephanie Lewis <slewis@apple.com>
210

311
Reviewed by Darin.

WebKitTools/Scripts/webkitdirs.pm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,14 @@ sub determineSourceDir
6060

6161
# walks up path checking each directory to see if it is the main WebKit project dir,
6262
# defined by containing JavaScriptCore, WebCore, and WebKit
63-
until (-d "$sourceDir/JavaScriptCore" && -d "$sourceDir/WebCore" && -d "$sourceDir/WebKit")
63+
until ((-d "$sourceDir/JavaScriptCore" && -d "$sourceDir/WebCore" && -d "$sourceDir/WebKit") || (-d "$sourceDir/Internal" && -d "$sourceDir/OpenSource"))
6464
{
6565
if ($sourceDir !~ s|/[^/]+$||) {
6666
die "Could not find top level webkit directory above source directory using FindBin.\n";
6767
}
6868
}
69+
70+
$sourceDir = "$sourceDir/OpenSource" if -d "$sourceDir/OpenSource";
6971
}
7072

7173
# used for scripts which are stored in a non-standard location

0 commit comments

Comments
 (0)