summaryrefslogtreecommitdiffstats
path: root/java/examples/intro
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/intro
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/intro')
-rw-r--r--java/examples/intro/runExample.sh.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/examples/intro/runExample.sh.in b/java/examples/intro/runExample.sh.in
index ecc51ca..5b8c978 100644
--- a/java/examples/intro/runExample.sh.in
+++ b/java/examples/intro/runExample.sh.in
@@ -86,7 +86,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
@@ -107,7 +107,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
@@ -129,7 +129,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
@@ -150,7 +150,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