diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2020-06-22 13:34:09 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2020-06-22 13:34:09 (GMT) |
commit | 3eead8157247a8e66f840e3894b3f65781061363 (patch) | |
tree | c10121ab2335bb89d7a86551c9363146be8d05fe /test | |
parent | cafb6e572822c0a7bb985f237b600944f9fcdb3c (diff) | |
parent | e64ed323db7c98a246d3386a146f87003886040a (diff) | |
download | hdf5-3eead8157247a8e66f840e3894b3f65781061363.zip hdf5-3eead8157247a8e66f840e3894b3f65781061363.tar.gz hdf5-3eead8157247a8e66f840e3894b3f65781061363.tar.bz2 |
Merge pull request #2657 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'e64ed323db7c98a246d3386a146f87003886040a':
Merge pull request #2656 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:changes_1_12_merge to hdf5_1_12
Diffstat (limited to 'test')
-rw-r--r-- | test/testcheck_version.sh.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testcheck_version.sh.in b/test/testcheck_version.sh.in index 836170d..0c2c4cd 100644 --- a/test/testcheck_version.sh.in +++ b/test/testcheck_version.sh.in @@ -216,9 +216,9 @@ h5libsettings=../src/libhdf5.settings PURPOSE # Figure out library version numbers from the header file. -h5versmajor=`grep '#define H5_VERS_MAJOR' $srcdir/../src/H5public.h | cut -f2` -h5versminor=`grep '#define H5_VERS_MINOR' $srcdir/../src/H5public.h | cut -f2` -h5versrelease=`grep '#define H5_VERS_RELEASE' $srcdir/../src/H5public.h | cut -f2` +h5versmajor=`grep '#define H5_VERS_MAJOR' $srcdir/../src/H5public.h | awk '{print $3}'` +h5versminor=`grep '#define H5_VERS_MINOR' $srcdir/../src/H5public.h | awk '{print $3}'` +h5versrelease=`grep '#define H5_VERS_RELEASE' $srcdir/../src/H5public.h | awk '{print $3}'` DEBUGPRINT $h5versmajor.$h5versminor.$h5versrelease case "$h5versmajor$h5versminor$h5versrelease" in [0-9]*) # good. noop. |