diff options
author | Craig A. Berry <craigberry@mac.com> | 2009-01-01 10:41:35 -0600 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2009-01-01 10:41:35 -0600 |
commit | 9c3905ef054a16857454499c7acfa64d8373c309 (patch) | |
tree | 8637a6d3c2e11eb56fd9d17087f48a7910a6e27e /configure.com | |
parent | 28b1daef84496f2ebce3fad4ac7861dd4dd92f38 (diff) | |
download | perl-9c3905ef054a16857454499c7acfa64d8373c309.tar.gz |
First cut at handling git patch numbers on VMS.
Partially based on suggestions from John Malmberg at <495C279C.7020106@gmail.com>.
Diffstat (limited to 'configure.com')
-rw-r--r-- | configure.com | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.com b/configure.com index d1dab4d225..c8e3e5e0b2 100644 --- a/configure.com +++ b/configure.com @@ -1408,9 +1408,10 @@ $ SET NOON $ OPEN/READ PATCH [-].patch $ READ PATCH line $ CLOSE PATCH -$ tmp = F$EDIT(line,"COLLAPSE") +$ tmp = F$EDIT(line,"TRIM,COMPRESS") +$ IF F$ELEMENT(3, " ", tmp) .NES. "" THEN tmp = F$ELEMENT(3, " ", tmp) $ SET ON -$ IF tmp .GT. perl_patchlevel then perl_patchlevel = tmp +$ IF tmp .NES. "" THEN perl_patchlevel = tmp $ ENDIF $! $ version_patchlevel_string = "version ''patchlevel' subversion ''subversion'" |