From 56abde4de8d3ecc67864cdfd34a7c5d184ee8930 Mon Sep 17 00:00:00 2001 From: minima Date: Thu, 15 Mar 2001 00:39:52 +0000 Subject: [PATCH] fix pathname --- cmd/show/version.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.43.0