summaryrefslogtreecommitdiffstats
path: root/java/examples/groups
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-03-21 16:06:52 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-03-21 16:06:52 (GMT)
commit9c570c7b4227fce7fdfbb2dba20fb8e9290b5e26 (patch)
treee531b9ea02b1c4aedd776a68af6c38052a031f5e /java/examples/groups
parent775f0cabad69f4098cda881252922a5cadca01c4 (diff)
downloadhdf5-9c570c7b4227fce7fdfbb2dba20fb8e9290b5e26.zip
hdf5-9c570c7b4227fce7fdfbb2dba20fb8e9290b5e26.tar.gz
hdf5-9c570c7b4227fce7fdfbb2dba20fb8e9290b5e26.tar.bz2
[svn-r29480] Correct copy functions to test the directory
Diffstat (limited to 'java/examples/groups')
-rw-r--r--java/examples/groups/runExample.sh.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/java/examples/groups/runExample.sh.in b/java/examples/groups/runExample.sh.in
index a59a894..1ba81fd 100644
--- a/java/examples/groups/runExample.sh.in
+++ b/java/examples/groups/runExample.sh.in
@@ -92,7 +92,7 @@ COPY_LIBFILES_TO_BLDLIBDIR()
# make cp fail
SDIR=`$DIRNAME $tstfile`
INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'`
- INODE_DDIR=`$LS -i -d $TESTDIR | $AWK -F' ' '{print $1}'`
+ INODE_DDIR=`$LS -i -d $BLDLIBDIR | $AWK -F' ' '{print $1}'`
if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then
$CP -f $tstfile $BLDLIBDIR
if [ $? -ne 0 ]; then
@@ -113,7 +113,7 @@ CLEAN_LIBFILES_AND_BLDLIBDIR()
# make cp fail
SDIR=`$DIRNAME $tstfile`
INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'`
- INODE_DDIR=`$LS -i -d $TESTDIR | $AWK -F' ' '{print $1}'`
+ INODE_DDIR=`$LS -i -d $BLDLIBDIR | $AWK -F' ' '{print $1}'`
if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then
$RM $BLDLIBDIR
fi
@@ -135,7 +135,7 @@ COPY_DATAFILES_TO_BLDDIR()
# make cp fail
SDIR=`$DIRNAME $tstfile`
INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'`
- INODE_DDIR=`$LS -i -d $TESTDIR | $AWK -F' ' '{print $1}'`
+ INODE_DDIR=`$LS -i -d $BLDDIR | $AWK -F' ' '{print $1}'`
if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then
$CP -f $tstfile $BLDDIR
if [ $? -ne 0 ]; then
@@ -156,7 +156,7 @@ CLEAN_DATAFILES_AND_BLDDIR()
# make cp fail
SDIR=`$DIRNAME $tstfile`
INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'`
- INODE_DDIR=`$LS -i -d $TESTDIR | $AWK -F' ' '{print $1}'`
+ INODE_DDIR=`$LS -i -d $BLDDIR | $AWK -F' ' '{print $1}'`
if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then
$RM $BLDDIR/*.txt
$RM $BLDDIR/*.out
@@ -179,7 +179,7 @@ COPY_REFFILES_TO_BLDREFDIR()
# make cp fail
SDIR=`$DIRNAME $tstfile`
INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'`
- INODE_DDIR=`$LS -i -d $TESTDIR | $AWK -F' ' '{print $1}'`
+ INODE_DDIR=`$LS -i -d $BLDREFDIR | $AWK -F' ' '{print $1}'`
if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then
$CP -f $tstfile $BLDREFDIR
if [ $? -ne 0 ]; then
@@ -200,7 +200,7 @@ CLEAN_REFFILES_AND_BLDREFDIR()
# make cp fail
SDIR=`$DIRNAME $tstfile`
INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'`
- INODE_DDIR=`$LS -i -d $TESTDIR | $AWK -F' ' '{print $1}'`
+ INODE_DDIR=`$LS -i -d $BLDREFDIR | $AWK -F' ' '{print $1}'`
if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then
$RM $BLDREFDIR
fi