summaryrefslogtreecommitdiffstats
path: root/bin/h5vers
diff options
context:
space:
mode:
authorlrknox <lrknox>2017-03-21 16:40:11 (GMT)
committerlrknox <lrknox>2017-03-21 16:40:11 (GMT)
commitfa5ca5272d7aa6f25656541b72a24697b36dd52b (patch)
treeaaacae8b1bad787d0e340772ced6839fc612b935 /bin/h5vers
parent7cf8d092ed32c40488ce1aca28a705d78d69e23a (diff)
downloadhdf5-fa5ca5272d7aa6f25656541b72a24697b36dd52b.zip
hdf5-fa5ca5272d7aa6f25656541b72a24697b36dd52b.tar.gz
hdf5-fa5ca5272d7aa6f25656541b72a24697b36dd52b.tar.bz2
Remove extra space added by h5vers to version string in H5.java, which
then failed to match the pattern after the first run.
Diffstat (limited to 'bin/h5vers')
-rwxr-xr-xbin/h5vers2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/h5vers b/bin/h5vers
index efa97b1..d564d47 100755
--- a/bin/h5vers
+++ b/bin/h5vers
@@ -379,7 +379,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);
}