diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2008-11-19 19:22:27 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2008-11-19 19:22:27 (GMT) |
commit | 2f03768888ed1922105f1e5c818e545d2ebfa13e (patch) | |
tree | 31ead7dc377b7ce089496588e2121ceab611272f /bin | |
parent | 96fd960606d61d61205dd51f14d50273583fbe6f (diff) | |
download | hdf5-2f03768888ed1922105f1e5c818e545d2ebfa13e.zip hdf5-2f03768888ed1922105f1e5c818e545d2ebfa13e.tar.gz hdf5-2f03768888ed1922105f1e5c818e545d2ebfa13e.tar.bz2 |
[svn-r16104] Bug fix:
h5vers script overwrote the value for windows file; fixed
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/h5vers | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -192,9 +192,9 @@ 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; +my $H5VMSPUBCONF = $file; +$H5VMSPUBCONF =~ s/[^\/]*$/..\/vms\/src\/h5pubconf.h/; +die "unable to read file: $H5VMSPUBCONF\n" unless -r $file; # Get the current version number. open FILE, $file or die "unable to open $file: $!\n"; @@ -243,6 +243,7 @@ if ($set) { $RELEASE = ""; $CONFIGURE = ""; $H5PUBCONF = ""; + $H5VMSPUBCONF = ""; $LT_VERS = ""; @newver = @curver; } @@ -394,6 +395,9 @@ sub gen_h5pubconf { # Update the Windows-maintained H5pubconf.h file gen_h5pubconf("HDF5", $H5PUBCONF, @newver) if $H5PUBCONF; +# Update the VMS-maintained h5pubconf.h file +gen_h5pubconf("HDF5", $H5VMSPUBCONF, @newver) if $H5VMSPUBCONF; + # Print the new version number if ($verbose) { printf("version %d.%d release %d%s\n", @newver[0,1,2], |