Commit 603fbbe3 authored by Michael Büsch's avatar Michael Büsch

Move cleantree.sh script to maintenance directory

Signed-off-by: Michael Büsch's avatarMichael Buesch <m@bues.ch>
parent 284c348e
......@@ -3,14 +3,16 @@
basedir="$(dirname "$0")"
[ "$(echo "$basedir" | cut -c1)" = '/' ] || basedir="$PWD/$basedir"
awlsim_base="$basedir/.."
set -e
if ! [ -x "$basedir/awlsim-test" -a -x "$basedir/setup.py" ]; then
if ! [ -x "$awlsim_base/awlsim-test" -a -x "$awlsim_base/setup.py" ]; then
echo "basedir sanity check failed"
exit 1
fi
cd "$basedir"
cd "$awlsim_base"
find . \( \
\( -name '__pycache__' \) -o \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment