From: minima Date: Thu, 15 Mar 2001 00:39:52 +0000 (+0000) Subject: fix pathname X-Git-Tag: R_1_47~112 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=56abde4de8d3ecc67864cdfd34a7c5d184ee8930;p=spider.git fix pathname --- diff --git a/cmd/show/version.pl b/cmd/show/version.pl index c4593b93..da72e305 100644 --- a/cmd/show/version.pl +++ b/cmd/show/version.pl @@ -14,7 +14,7 @@ if (opendir(DIR, "$main::root/perl")) { closedir(DIR); foreach my $fn (@d) { if ($fn =~ /^cluster\.pl$/ || $fn =~ /\.pm$/) { - my $f = new IO::File $fn or next; + my $f = new IO::File "$main::root/perl/$fn" or next; while (<$f>) { if (/^#\s+\$Id:\s+[\w\._]+,v\s+(\d+\.\d+)/ ) { $build += $1;