Clean-up.

This commit is contained in:
Manuel Canales Esparcia 2006-04-09 17:17:52 +00:00
parent d0570759f2
commit 5bcccc14b9

View file

@ -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