diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-30 08:00:34 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-30 08:00:34 +0000 |
commit | ebf0e4c599bca88436539559ca7c08c69ed197bf (patch) | |
tree | e362bb5a7d421f975e2c52ccd13c7479b8f6f175 /gnu/usr.bin/perl/plan9/versnum | |
parent | 3d06de7fcff1d605886d3c63220956f7260ddb84 (diff) |
perl5.005_03
Diffstat (limited to 'gnu/usr.bin/perl/plan9/versnum')
-rw-r--r-- | gnu/usr.bin/perl/plan9/versnum | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/plan9/versnum b/gnu/usr.bin/perl/plan9/versnum new file mode 100644 index 00000000000..83e46826c34 --- /dev/null +++ b/gnu/usr.bin/perl/plan9/versnum @@ -0,0 +1,8 @@ +/PATCHLEVEL/ {base = $3} +/SUBVERSION/ {subvers = $3} +END { +if (subvers == 0) + printf "p9pvers = 5.%03d\n", base> "buildinfo"; +else + printf "p9pvers = 5.%03d_%02d\n" , base, subvers> "buildinfo"; +} |