Clean-up.
This commit is contained in:
parent
d0570759f2
commit
5bcccc14b9
1 changed files with 46 additions and 48 deletions
|
@ -10,13 +10,11 @@
|
|||
|
||||
set -e
|
||||
|
||||
local CMP_DIR=$1
|
||||
local F L BN
|
||||
local ALL_FILES=/tmp/allfiles.$$
|
||||
local UNIQUE_FILES=/tmp/uniquefiles.$$
|
||||
local CMP_DIR=$1
|
||||
local F L BN
|
||||
|
||||
# Run ica_prep if it hasn't been done already
|
||||
if [ ! -f "$CMP_DIR/icaprep" ]; then
|
||||
# Run ica_prep if it hasn't been done already
|
||||
if [ ! -f "$CMP_DIR/icaprep" ]; then
|
||||
|
||||
echo -n "Removing symbolic links in ${CMP_DIR}... "
|
||||
find $CMP_DIR -type l | xargs rm -f
|
||||
|
@ -63,7 +61,7 @@ set -e
|
|||
echo -en "\nSuccess: ICA preparation for "
|
||||
echo -e "${CMP_DIR} complete.\n"
|
||||
touch $CMP_DIR/icaprep
|
||||
else
|
||||
else
|
||||
echo -e "\n$CMP_DIR was already processed\n"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Reference in a new issue