30 lines
456 B
Bash
Executable File
30 lines
456 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
|
|
|
|
|
|
|
|
|
|
keepCases="moriyoshiHomogeneous"
|
|
loseCases="moriyoshiHomogeneousPart2"
|
|
|
|
|
|
for case in $keepCases
|
|
do
|
|
(cd $case && $tutorialsDir/cleanAll)
|
|
done
|
|
|
|
for case in $loseCases
|
|
do
|
|
removeCase $case
|
|
done
|