[svn-r30235] HDFFV-9730: Fix functions for delete to use a specific dir instead of a possibly uninitialized variable.

This commit is contained in:
Allen Byrne
2016-08-01 12:20:21 -05:00
parent db7a701126
commit 4ce65b8585
14 changed files with 14 additions and 14 deletions

View File

@@ -374,7 +374,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_H5DIFF_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