2011-03-15 Felipe Oliveira da Silva Netto <f.dachshund@gmail.com>

        Reviewed by Adam Roben.

        Function relativeScriptsDir doesn't return the correct relative
        Scripts directory.

        * Scripts/webkitdirs.pm:
        (relativeScriptsDir): Ensure we use the directory that contains
        webkitdirs.pm, not the one that contains the original script that
        was invoked.

git-svn-id: svn://svn.chromium.org/blink/trunk@81219 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 9b97f84d
2011-03-15 Felipe Oliveira da Silva Netto <f.dachshund@gmail.com>
Reviewed by Adam Roben.
Function relativeScriptsDir doesn't return the correct relative
Scripts directory.
* Scripts/webkitdirs.pm:
(relativeScriptsDir): Ensure we use the directory that contains
webkitdirs.pm, not the one that contains the original script that
was invoked.
2011-03-15 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fixes for long linker commands on Win and method return error, plus a Mac
......
......@@ -991,7 +991,7 @@ sub isWindowsNT()
sub relativeScriptsDir()
{
my $scriptDir = File::Spec->catpath("", File::Spec->abs2rel(dirname($0), getcwd()), "");
my $scriptDir = File::Spec->catpath("", File::Spec->abs2rel($FindBin::Bin, getcwd()), "");
if ($scriptDir eq "") {
$scriptDir = ".";
}
......
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