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:
Mark Olesen
2008-07-18 15:32:10 +02:00
parent fbf250af65
commit 7f9631634d
12 changed files with 90 additions and 132 deletions

View File

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