25 lines
394 B
Bash
Executable File
25 lines
394 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Get application name from directory
|
|
application=`basename $PWD`
|
|
|
|
# Find and source additional functions
|
|
tutorialPath=$PWD
|
|
while [ ! -f $tutorialPath/CleanFunctions ]
|
|
do
|
|
tutorialPath="$tutorialPath/.."
|
|
done
|
|
. $tutorialPath/CleanFunctions
|
|
|
|
|
|
|
|
removeCase decompressionTankFine
|
|
|
|
for case in *
|
|
do
|
|
if [ -d $case ]
|
|
then
|
|
(cd $case && $tutorialsDir/cleanAll)
|
|
fi
|
|
done
|