diff options
author | Romano <unobe@cpan.org> | 2020-06-25 15:08:04 -0700 |
---|---|---|
committer | Nicolas R <nicolas@atoomic.org> | 2020-08-03 16:33:11 -0600 |
commit | a123eb892ee6a30b5910abc29fbccf2386306e08 (patch) | |
tree | 8bf7db7128ed831c0452e5151b38820e6c7a440c /plan9/versnum | |
parent | be2a5c504c374b2061df9780050f2d8223cf27ff (diff) | |
download | perl-a123eb892ee6a30b5910abc29fbccf2386306e08.tar.gz |
Plan9/9front i386 fixes
Diffstat (limited to 'plan9/versnum')
-rw-r--r-- | plan9/versnum | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plan9/versnum b/plan9/versnum index 6e579f3048..55f80d067e 100644 --- a/plan9/versnum +++ b/plan9/versnum @@ -1,8 +1,9 @@ -/PERL_VERSION/ {base = $3} -/PERL_SUBVERSION/ {subvers = $3} +/define PERL_REVISION/ {revision = $3} +/define PERL_VERSION/ {version = $3} +/define PERL_SUBVERSION/ {subvers = $3} END { if (subvers == 0) - printf "p9pvers = 5.%03d\n", base> "buildinfo"; + printf "p9pvers = %d.%d\n", revision, version> "buildinfo"; else - printf "p9pvers = 5.%03d_%02d\n" , base, subvers> "buildinfo"; + printf "p9pvers = %d.%d.%d\n" , revision, version, subvers> "buildinfo"; } |