summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/testh5diff.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5diff/testh5diff.sh')
-rwxr-xr-xtools/h5diff/testh5diff.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh
index b8e743d..005a736 100755
--- a/tools/h5diff/testh5diff.sh
+++ b/tools/h5diff/testh5diff.sh
@@ -79,8 +79,9 @@ test -d ./testfiles || mkdir ./testfiles
# -h print help page
while [ $# -gt 0 ]; do
case "$1" in
- -p) # run ph5diff tests
- H5DIFF_BIN=`pwd`/ph5diff
+ -p) # reset the tool name and bin to run ph5diff tests
+ H5DIFF=ph5diff # The tool name
+ H5DIFF_BIN=`pwd`/$H5DIFF
pmode=yes
shift
;;