mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Force the use of unix path separators by using File::Spec::Unix->canonpath instead of File::Spec->canonpath.
Thanks to Gervase Markham <gerv@mozilla.org> for the patch. Bug #127072 r=cls a=asa
This commit is contained in:
parent
0df019b037
commit
234f0380a3
@ -129,12 +129,12 @@ while (<JARFILE>)
|
||||
# implying that the file is in the current directory.
|
||||
if (!$1 || $1 eq "")
|
||||
{
|
||||
$chromefile = File::Spec->canonpath("$jarfilename/$_");
|
||||
$chromefile = File::Spec::Unix->canonpath("$jarfilename/$_");
|
||||
$_ =~ /.*\/(.*?)$/;
|
||||
$cvsfile = File::Spec->canonpath($1);
|
||||
$cvsfile = File::Spec::Unix->canonpath($1);
|
||||
} else {
|
||||
$chromefile = File::Spec->canonpath("$jarfilename/$chromefile");
|
||||
$cvsfile = File::Spec->canonpath($cvsfile);
|
||||
$chromefile = File::Spec::Unix->canonpath("$jarfilename/$chromefile");
|
||||
$cvsfile = File::Spec::Unix->canonpath($cvsfile);
|
||||
}
|
||||
|
||||
# Convert to platform-specific separator for the chrome version.
|
||||
|
Loading…
Reference in New Issue
Block a user