From 06d7d3b5ad410ff63935a26a2d279ed3f3e6bd5a Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 5 Oct 2000 13:03:26 -0500 Subject: [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) --- tools/testh5toh4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12