# standard clean.sh file.)
# Ask some other directories to clean themselves up.
-pwd=`pwd`
+original_pwd=`pwd`
for d in tools-for-build; do
- cd $d
+ cd $d > /dev/null
# I hope the -s option is standard. At least GNU make and BSD make
# support it. It silences make, since otherwise the output from
# this script is just the operations done by these make's, which
# is misleading when this script does lotso other operations too.
# -- WHN
make -s clean
- cd $pwd
+ cd $original_pwd > /dev/null
done
# Within all directories, remove things which don't look like source
# certainly not source
# *~, #*#, TAGS
# common names for editor temporary files
+# .#*
+# rubbish left behind by CVS updates
# *.htm, *.html
-# The system doc sources are SGML, any HTML is automatically
-# generated output.
+# The system doc sources are SGML, any HTML is
+# automatically-generated output.
# depend
# made by "make depend" (or "gmake depend" or some such thing)
# *.x86f, *.axpf, *.lbytef, *.fasl
-type l -or \
-name '*~' -or \
-name '#*#' -or \
+ -name '.#*' -or \
-name '?*.x86f' -or \
-name '?*.axpf' -or \
-name '?*.lbytef' -or \