diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2008-11-19 16:23:56 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2008-11-19 16:23:56 (GMT) |
commit | 5d115960b6386b311926f836f9bb27fc0fc2bbb2 (patch) | |
tree | 386771ae6b3868c32999bcda07b46e7d322aa6e8 /bin/h5vers | |
parent | f804d204466cc058699955152c97eb69a5e063cf (diff) | |
download | hdf5-5d115960b6386b311926f836f9bb27fc0fc2bbb2.zip hdf5-5d115960b6386b311926f836f9bb27fc0fc2bbb2.tar.gz hdf5-5d115960b6386b311926f836f9bb27fc0fc2bbb2.tar.bz2 |
[svn-r16100] Maintenance: Library version number in vms/src/h5pubconf.h
was not updated automatically and therefore
was always outdated. Modified h5vers script to update
the version for the VMS configuration file as we do for
the similar windows file.
Platforms tested:
kagiso with bin/h5vers
Diffstat (limited to 'bin/h5vers')
-rwxr-xr-x | bin/h5vers | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -160,8 +160,9 @@ die "mutually exclusive options given\n" if $set && $inc; # Determine file to use as H5public.h, README.txt, # release_docs/RELEASE.txt, configure.in, windows/src/H5pubconf.h, -# and config/lt_vers.am. The README.txt, release_docs/RELEASE.txt, -# configure.in, windows/src/H5pubconf.h, and config/lt_vers.am +# vms/src/h5pubcof.h and config/lt_vers.am. +# The README.txt, release_docs/RELEASE.txt, configure.in, +# windows/src/H5pubconf.h, vms/src/h5pubconf.h and config/lt_vers.am # files are always in the directory above H5public.h unless ($file) { for (@files) { @@ -190,6 +191,10 @@ die "unable to read file: $CONFIGURE\n" unless -r $file; my $H5PUBCONF = $file; $H5PUBCONF =~ s/[^\/]*$/..\/windows\/src\/H5pubconf.h/; die "unable to read file: $H5PUBCONF\n" unless -r $file; +# vms/src/h5pubconf.h +my $H5PUBCONF = $file; +$H5PUBCONF =~ s/[^\/]*$/..\/vms\/src\/h5pubconf.h/; +die "unable to read file: $H5PUBCONF\n" unless -r $file; # Get the current version number. open FILE, $file or die "unable to open $file: $!\n"; |