summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2008-11-19 16:24:35 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2008-11-19 16:24:35 (GMT)
commit1258c22bb07a37b44b1fa9c533fa5c39c166e888 (patch)
treea2f3e4472f2a0dc7985f431ef19e5a5381486cf1 /bin
parent374f8f9da5cbe8ad9523f600989560dc110de40f (diff)
downloadhdf5-1258c22bb07a37b44b1fa9c533fa5c39c166e888.zip
hdf5-1258c22bb07a37b44b1fa9c533fa5c39c166e888.tar.gz
hdf5-1258c22bb07a37b44b1fa9c533fa5c39c166e888.tar.bz2
[svn-r16101] 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')
-rwxr-xr-xbin/h5vers9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/h5vers b/bin/h5vers
index 1b41d0f..1cb2072 100755
--- a/bin/h5vers
+++ b/bin/h5vers
@@ -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/h5pubconf.h and config/lt_vers.am.
+# The README.txt, release_docs/RELEASE.txt, configure.in,
+# vms/src/h5pubconf.h, windows/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";