Thanks to Brian Ryner <bryner@netscape.com> for the patch.
Bug #200629 r=cls
This commit is contained in:
seawood%netscape.com 2003-04-04 21:06:22 +00:00
Родитель 03308d1b07
Коммит 15546830b6
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -4,7 +4,10 @@
my $cygwin_mountprefix = ""; my $cygwin_mountprefix = "";
if ($^O eq "cygwin") { if ($^O eq "cygwin") {
$cygwin_mountprefix = `mount -p | awk '{ if (/^\\//) { print $1; exit } }'`; $cygwin_mountprefix = `mount -p | awk '{ if (/^\\//) { print \$1; exit } }'`;
chomp($cygwin_mountprefix);
# Remove extra ^M caused by using dos-mode line-endings
chop $cygwin_mountprefix if (substr($cygwin_mountprefix, -1, 1) eq "\r");
} else { } else {
# we'll be pulling in some stuff from the script directory # we'll be pulling in some stuff from the script directory
require FindBin; require FindBin;