summaryrefslogtreecommitdiffstats
path: root/java/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-08-01 17:20:21 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-08-01 17:20:21 (GMT)
commit4ce65b85850fd7bd28c36b25619d025611afacce (patch)
tree830fa0927264338ee1b7c8c4f1bcb9f2275b99c0 /java/test
parentdb7a701126c28cb1505be730b215f9a33ab61332 (diff)
downloadhdf5-4ce65b85850fd7bd28c36b25619d025611afacce.zip
hdf5-4ce65b85850fd7bd28c36b25619d025611afacce.tar.gz
hdf5-4ce65b85850fd7bd28c36b25619d025611afacce.tar.bz2
[svn-r30235] HDFFV-9730: Fix functions for delete to use a specific dir instead of a possibly uninitialized variable.
Diffstat (limited to 'java/test')
-rw-r--r--java/test/junit.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test/junit.sh.in b/java/test/junit.sh.in
index f37703a..5001c32 100644
--- a/java/test/junit.sh.in
+++ b/java/test/junit.sh.in
@@ -111,7 +111,7 @@ CLEAN_LIBFILES_AND_BLDLIBDIR()
# skip rm if srcdir is same as destdir
# this occurs when build/test performed in source dir and
# make cp fail
- SDIR=`$DIRNAME $HDFLIB_HOME/junit.jar`
+ SDIR=$HDFLIB_HOME
INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'`
INODE_DDIR=`$LS -i -d $BLDLIBDIR | $AWK -F' ' '{print $1}'`
if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then