Commit edfcbcac authored by JINMEI Tatuya's avatar JINMEI Tatuya

[trac606] make cleanall.sh not dependent on conf.sh so that it will work in 'make distclean'

parent 73962470
...@@ -19,19 +19,15 @@ ...@@ -19,19 +19,15 @@
# Clean up after system tests. # Clean up after system tests.
# #
SYSTEMTESTTOP=.
. $SYSTEMTESTTOP/conf.sh
find . -type f \( \ find . -type f \( \
-name 'K*' -o -name '*~' -o -name '*.core' -o -name '*.log' \ -name 'K*' -o -name '*~' -o -name '*.core' -o -name '*.log' \
-o -name '*.pid' -o -name '*.keyset' -o -name named.run \ -o -name '*.pid' -o -name '*.keyset' -o -name named.run \
-o name bind10.run -o -name lwresd.run -o -name ans.run \) -print | \ -o -name bind10.run -o -name lwresd.run -o -name ans.run \) -print | \
xargs rm -f xargs rm -f
status=0 status=0
for d in $SUBDIRS for d in `find . -type d -maxdepth 1 -mindepth 1 -print`
do do
test ! -f $d/clean.sh || ( cd $d && sh clean.sh ) test ! -f $d/clean.sh || ( cd $d && sh clean.sh )
done done
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