[Webkit-unassigned] [Bug 53590] Can't exec "WebKit/Tools/Scripts/print-vse-failure-logs"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 18 17:34:30 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53590


Felipe <f.dachshund at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |f.dachshund at gmail.com




--- Comment #2 from Felipe <f.dachshund at gmail.com>  2011-02-18 17:34:31 PST ---
The error seems to occur in module webkitdirs.pm, function relativeScriptsDir, line 974:

my $scriptDir = File::Spec->catpath("", File::Spec->abs2rel(dirname($0), getcwd()), "");

Function 'dirname' already returns a relative path (at least in Cygwin), but this path is relative to the "first path", from that the user calls build-webkit. Functions like 'chdir' don't change this path.

E.g., if you run build-webkit from ~ (home), 'dirname($0)' (from webkitdirs) will return 'WebKit/Tools/Scripts' (path relative to ~). But 'getcwd()' will return '/home/<user>/WebKit', not '/home/<user>', because working directory has changed before by 'chdirWebKit()' (in build-webkit, from webkitdirs).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list