update script to work on windows (not part of build)

This commit is contained in:
alecf%netscape.com 2001-03-08 15:08:03 +00:00
Родитель 22ff42aa90
Коммит 4308eb20b9
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -62,8 +62,8 @@ print "within the $rootdir directory..\n" if ($rootdir);
# this is my lame way of checking if a command succeeded AND getting
# output from it. I'd love a better way. -alecf@netscape.com
my $have_checkins = 0;
@args = ("wget", "--quiet", "--output-document=-", $url);
open CHECKINS,"wget --quiet --output-document=- '$url'|" or
@args = ("wget", "--quiet", "--output-document=-", "\"$url\"");
open CHECKINS,"wget --quiet --output-document=- \"$url\"|" or
die "Error opening wget: $!\n";
$header = <CHECKINS> and $have_checkins=1;