Fix xul preprocessor bustage
Thanks to Brian Ryner <bryner@netscape.com> for the patch. Bug #200629 r=cls
This commit is contained in:
Родитель
03308d1b07
Коммит
15546830b6
|
@ -4,7 +4,10 @@
|
|||
|
||||
my $cygwin_mountprefix = "";
|
||||
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 {
|
||||
# we'll be pulling in some stuff from the script directory
|
||||
require FindBin;
|
||||
|
|
Загрузка…
Ссылка в новой задаче