0.8.14.9:
[sbcl.git] / clean.sh
index 50feec1..540f8f9 100755 (executable)
--- a/clean.sh
+++ b/clean.sh
@@ -29,14 +29,14 @@ find_gnumake
 # Ask some other directories to clean themselves up.
 original_pwd=`pwd`
 for d in tools-for-build; do
-    cd $d > /dev/null
+    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
     $GNUMAKE -I ../src/runtime -s clean
-    cd $original_pwd  > /dev/null
+    cd $original_pwd > /dev/null
 done
 
 # Within all directories, remove things which don't look like source
@@ -111,4 +111,4 @@ find . \( \
        -name 'test-passed' -o \
        -name 'local-target-features.lisp-expr' \) -print | xargs rm -f
 
-cd doc && sh ./clean.sh
+cd ./doc && sh ./clean.sh