bug 391137: when building a path to the httpd.js and server.js MochiTest scripts on Windows, add a directory separator between the root dir and appended dirs so two dirs don't run together, creating an invalid path r=gavin, r=sayrer

This commit is contained in:
myk@mozilla.org 2007-08-21 15:01:40 -07:00
Родитель 9151826fd1
Коммит 9d955e2999
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -315,7 +315,7 @@ sub winPathFromDir {
my ($volume,$directories,$file) =
File::Spec->splitpath(substr($path, $matchlen), 1);
my @dirs = File::Spec->splitdir( $directories );
return $bestmatch . join "\\", @dirs;
return $bestmatch . "\\" . join "\\", @dirs;
}
##################