1.0.10.52: fix clean.sh for whitespace-containing source directories
authorRudi Schlatte <rudi@constantly.at>
Sun, 21 Oct 2007 05:15:04 +0000 (05:15 +0000)
committerRudi Schlatte <rudi@constantly.at>
Sun, 21 Oct 2007 05:15:04 +0000 (05:15 +0000)
clean.sh
distclean.sh
version.lisp-expr

index cdac823..4d760c6 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 )
 
@@ -113,4 +113,4 @@ find . \( \
         -name 'tags' -o \
         -name 'test-passed' -o \
         -name 'ldso-stubs.S' -o \
-        -name 'local-target-features.lisp-expr' \) -print | xargs rm -f
+        -name 'local-target-features.lisp-expr' \) -print0 | xargs -0 rm -f
index 41ed1b6..40a2365 100644 (file)
@@ -21,7 +21,7 @@ rm -rf customize-target-features.lisp
 # could use, perhaps referring to SourceForge anoncvs, what'd be the
 # point? I'd expect a comfortable majority of those who want to do
 # CVS operations would be inclined to start with "cvs co" anyway.)
-find . \( -type d -a -name CVS \) -print | xargs rm -r
+find . \( -type d -a -name CVS \) -print0 | xargs -0 rm -r
 
 # Fall through to ordinary cleanup.
 sh clean.sh
index f1a6863..c3ab378 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.10.51"
+"1.0.10.52"