diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-03-22 15:15:44 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-03-22 15:15:44 (GMT) |
commit | 98e315ffffdd4df59ad37259531bcef205d60d0e (patch) | |
tree | 857f54092d59f3793b01c77068498d55f4085151 /java/examples/groups | |
parent | 5309de6c548bd0af26bde85df20d8fd6ca518838 (diff) | |
download | hdf5-98e315ffffdd4df59ad37259531bcef205d60d0e.zip hdf5-98e315ffffdd4df59ad37259531bcef205d60d0e.tar.gz hdf5-98e315ffffdd4df59ad37259531bcef205d60d0e.tar.bz2 |
[svn-r29507] Add actual file name to delete functions to prevent accidental deletion of source files.
(HDFFV-9730 created for tools scripts, which is the basis for the java scripts)
Diffstat (limited to 'java/examples/groups')
-rw-r--r-- | java/examples/groups/runExample.sh.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/examples/groups/runExample.sh.in b/java/examples/groups/runExample.sh.in index 1ba81fd..ebc6edd 100644 --- a/java/examples/groups/runExample.sh.in +++ b/java/examples/groups/runExample.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 $tstfile` + SDIR=`$DIRNAME $HDFLIB_HOME/slf4j-api-1.7.5.jar` 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 @@ -154,7 +154,7 @@ CLEAN_DATAFILES_AND_BLDDIR() # 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=`$DIRNAME $HDFTEST_HOME/../testfiles/examples.groups.H5Ex_G_Create.txt` INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'` INODE_DDIR=`$LS -i -d $BLDDIR | $AWK -F' ' '{print $1}'` if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then @@ -198,7 +198,7 @@ CLEAN_REFFILES_AND_BLDREFDIR() # 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=`$DIRNAME $HDFTEST_HOME/h5ex_g_iterate.h5` INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'` INODE_DDIR=`$LS -i -d $BLDREFDIR | $AWK -F' ' '{print $1}'` if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then |