diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2020-06-21 22:20:04 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2020-06-21 22:42:59 (GMT) |
commit | e64ed323db7c98a246d3386a146f87003886040a (patch) | |
tree | 370d5edd9c2bd8310d1a04866bafdb26eb87700f /test/testcheck_version.sh.in | |
parent | 8e62f1fe7b38b630f1a41007a03341cb66dec4b3 (diff) | |
download | hdf5-e64ed323db7c98a246d3386a146f87003886040a.zip hdf5-e64ed323db7c98a246d3386a146f87003886040a.tar.gz hdf5-e64ed323db7c98a246d3386a146f87003886040a.tar.bz2 |
Merge pull request #2656 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:changes_1_12_merge to hdf5_1_12
* commit '538b1317646f52658c2a896bbde4dce4246a9761':
Squashed commit of the following:
Addition of clang-warnings flags
Update examples/teth5cc.sh.in for version 1.10.
Diffstat (limited to 'test/testcheck_version.sh.in')
-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. |