1.0.12.13: sequence optimizations: SUBSEQ, part 3
[sbcl.git] / clean.sh
index 5f61242..5241a76 100755 (executable)
--- a/clean.sh
+++ b/clean.sh
@@ -30,7 +30,7 @@ for d in tools-for-build; do
     # is misleading when this script does lotso other operations too.
     # -- WHN
     $GNUMAKE -I ../src/runtime -s clean
-    cd $original_pwd > /dev/null
+    cd "$original_pwd" > /dev/null
 done
 ( cd ./doc ; sh ./clean.sh )
 
@@ -73,6 +73,13 @@ done
 #   test-passed
 #     generated by automatic directory-test-thyself procedure
 find . \( \
+        -name _darcs -o \
+        -name '{arch}' -o \
+        -name CVS -o \
+        -name .hg -o \
+        -name .git -o \
+        -name .svn \) -type d -prune -o \
+       \( \
         -type l -o \
         -name '*~' -o \
         -name '#*#' -o \
@@ -105,4 +112,5 @@ find . \( \
         -name 'TAGS' -o \
         -name 'tags' -o \
         -name 'test-passed' -o \
+        -name 'ldso-stubs.S' -o \
         -name 'local-target-features.lisp-expr' \) -print | xargs rm -f