summaryrefslogtreecommitdiffstats
path: root/tools/h5import/h5importtestutil.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5import/h5importtestutil.sh.in')
-rw-r--r--tools/h5import/h5importtestutil.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5import/h5importtestutil.sh.in b/tools/h5import/h5importtestutil.sh.in
index f2694a0..08e0c3f 100644
--- a/tools/h5import/h5importtestutil.sh.in
+++ b/tools/h5import/h5importtestutil.sh.in
@@ -161,7 +161,7 @@ CLEAN_TESTFILES_AND_TESTDIR()
# skip rm if srcdir is same as destdir
# this occurs when build/test performed in source dir and
# make cp fail
- SDIR=`$DIRNAME $tstfile`
+ SDIR=$SRC_H5IMPORT_TESTFILES
INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'`
INODE_DDIR=`$LS -i -d $TESTDIR | $AWK -F' ' '{print $1}'`
if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then