summaryrefslogtreecommitdiffstats
path: root/bin/h5vers
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2022-12-14 16:55:07 (GMT)
committerGitHub <noreply@github.com>2022-12-14 16:55:07 (GMT)
commit23be40ca4fce00a2b74a85d49d9b7ea4b6279b43 (patch)
treef83947c006a0c4d6d8cb9552fce70ef019d179d8 /bin/h5vers
parent4e5bdb8c4e2c1b2b5636b831c0e7b4355526ccfc (diff)
downloadhdf5-23be40ca4fce00a2b74a85d49d9b7ea4b6279b43.zip
hdf5-23be40ca4fce00a2b74a85d49d9b7ea4b6279b43.tar.gz
hdf5-23be40ca4fce00a2b74a85d49d9b7ea4b6279b43.tar.bz2
Hdf5 1 14 (#2296)
* Update versions for hdf5_1_14 develop branch after creation of hdf5_1-14_0 branch for 1.14.0 release. * Update windows worker compilers (#2286) * Update windows worker compilers * Update bin and test issues * Update script and revert java test * Update scripts and versions in java files. Co-authored-by: Allen Byrne <50328838+byrnHDF@users.noreply.github.com>
Diffstat (limited to 'bin/h5vers')
-rwxr-xr-xbin/h5vers4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/h5vers b/bin/h5vers
index a78c24d..6716794 100755
--- a/bin/h5vers
+++ b/bin/h5vers
@@ -376,7 +376,7 @@ if ($H5_JAVA) {
my $version_string2 = sprintf("%d, %d, %d", @newver[0,1,2]);
$data =~ s/\@version HDF5 .* <BR>/\@version HDF5 $version_string1 <BR>/;
- $data =~ s/ public final static int LIB_VERSION\[\] = \{ \d*, \d*, \d* \};/ public final static int LIB_VERSION[] = \{ $version_string2 \};/;
+ $data =~ s/ public final static int LIB_VERSION\[\] = \{\d*,.\d*,.\d*\};/ public final static int LIB_VERSION[] = \{$version_string2\};/;
write_file($H5_JAVA, $data);
}
@@ -393,7 +393,7 @@ if ($TESTH5_JAVA) {
my $version_string1 = sprintf("%d, %d, %d", @newver[0,1,2]);
my $version_string2 = sprintf("int majnum = %d, minnum = %d, relnum = %d", @newver[0,1,2]);
- $data =~ s/ int libversion\[\] = \{ .* \};/ int libversion\[\] = \{ $version_string1 \};/;
+ $data =~ s/ int libversion\[\] = \{.*\};/ int libversion\[\] = \{$version_string1\};/;
$data =~ s/ int majnum = \d*, minnum = \d*, relnum = \d*;/ $version_string2;/;
write_file($TESTH5_JAVA, $data);