summaryrefslogtreecommitdiffstats
path: root/tools/testh5toh4
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-10-05 18:03:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-10-05 18:03:26 (GMT)
commit06d7d3b5ad410ff63935a26a2d279ed3f3e6bd5a (patch)
tree4e8f84c83e841f38160a85eff4c5f127de68f5e5 /tools/testh5toh4
parent714da8ad4b7e5e705bf575dbd2209b50ff00f1a5 (diff)
downloadhdf5-06d7d3b5ad410ff63935a26a2d279ed3f3e6bd5a.zip
hdf5-06d7d3b5ad410ff63935a26a2d279ed3f3e6bd5a.tar.gz
hdf5-06d7d3b5ad410ff63935a26a2d279ed3f3e6bd5a.tar.bz2
[svn-r2636] Purpose:
Bug Fix Description: Test was not detecting hdp tool from HDF 4.1r4 correctly. Solution: Modified test to detect HDF4.1r[3-9] correctly. Platforms tested: FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'tools/testh5toh4')
-rw-r--r--tools/testh5toh42
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testh5toh4 b/tools/testh5toh4
index 8ce06bb..af224ff 100644
--- a/tools/testh5toh4
+++ b/tools/testh5toh4
@@ -20,7 +20,7 @@ $H4DUMP -H > $tmpfile
if test -s "$tmpfile"; then
# Find out which version of hdp is being used. Over simplified
# algorithm but will do the job for now.
- if ( grep -s 'NCSA HDF Version 4.1 Release 3' $tmpfile > /dev/null )
+ if ( grep -s 'NCSA HDF Version 4.1 Release [3-9]' $tmpfile > /dev/null )
then
H4DUMPVER=413
else