summaryrefslogtreecommitdiff
path: root/Porting/checkcfgvar.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-08-09 09:44:54 +0200
committerNicholas Clark <nick@ccl4.org>2011-08-09 09:44:54 +0200
commit2186be13a01ba687b2fe25f0d5c898031257c2b5 (patch)
tree6b2f78a40591556293e9865ccb343383e8715502 /Porting/checkcfgvar.pl
parentcc3a8cf3b019ea5e5464be8d848b855817aa6c9a (diff)
downloadperl-2186be13a01ba687b2fe25f0d5c898031257c2b5.tar.gz
Remove 5.8.x VOS specific code from Porting/checkcfgvar.pl.
Commit 3fd80bd61943d0f8 in 2002 removed vos/config.{alpha,gf}.def from blead, but they were still present in maint-5.8, so the logic to process them was retained, to minimise the differences in the Porting/* scripts. maint-5.8 is EOL now, so these can be removed.
Diffstat (limited to 'Porting/checkcfgvar.pl')
-rwxr-xr-xPorting/checkcfgvar.pl9
1 files changed, 2 insertions, 7 deletions
diff --git a/Porting/checkcfgvar.pl b/Porting/checkcfgvar.pl
index 50daa40111..61ecb1e332 100755
--- a/Porting/checkcfgvar.pl
+++ b/Porting/checkcfgvar.pl
@@ -31,7 +31,6 @@ my %MASTER_CFG;
my %lst;
my @CFG = (
- # This list contains both 5.8.x and 5.9.x files,
# we check from MANIFEST whether they are expected to be present.
# We can't base our check on $], because that's the version of the
# perl that we are running, not the version of the source tree.
@@ -42,8 +41,6 @@ my @CFG = (
"uconfig.sh",
"uconfig64.sh",
"plan9/config_sh.sample",
- "vos/config.alpha.def",
- "vos/config.ga.def",
"win32/config.bc",
"win32/config.gc",
"win32/config.gc64",
@@ -118,12 +115,10 @@ for my $cfg (@CFG) {
}
# foo='bar'
# foo=bar
- # $foo='bar' # VOS 5.8.x specialty
- # $foo=bar # VOS 5.8.x specialty
- if (/^\$?(\w+)='(.*)'$/) {
+ if (/^(\w+)='(.*)'$/) {
$cfg{$1}++;
}
- elsif (/^\$?(\w+)=(.*)$/) {
+ elsif (/^(\w+)=(.*)$/) {
$cfg{$1}++;
}
elsif (/^\$\s+WC "(\w+)='(.*)'"$/) {