mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
cleanup wmake scripts
- match comments to names of scripts - remove comments about using C-shell (not true anymore) - use 'assert' style syntax in places instead of if/then/fi - wcleanMachine supports multiple arguments
This commit is contained in:
@ -32,18 +32,14 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
if [ ! -d bin -o ! -d src ]
|
||||
then
|
||||
echo $0: not in the project top level directory !
|
||||
[ -d bin -a -d src ] || {
|
||||
echo "${0##*/}: not in the project top level directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
for dir in lib applications/bin
|
||||
do
|
||||
if [ -d $dir ]
|
||||
rm -rf $dir/*
|
||||
fi
|
||||
[ -d $dir ] && rm -rf $dir/*
|
||||
done
|
||||
|
||||
( cd tutorials && ./Allclean )
|
||||
|
||||
Reference in New Issue
Block a user