Permalink
Browse files

1.0.10.40: Fix build for windows when source directory contains spaces

  • Loading branch information...
1 parent 4fe7f64 commit 102b7c83b326855e16c3bc3ce4fa60c6d7aaba85 @rudi rudi committed Oct 8, 2007
Showing with 9 additions and 6 deletions.
  1. +3 −3 make-config.sh
  2. +4 −1 make-target-contrib.sh
  3. +1 −1 sbcl-pwd.sh
  4. +1 −1 version.lisp-expr
View
@@ -139,15 +139,15 @@ for d in src/compiler src/assembly; do
echo "missing sbcl_arch directory $PWD/$sbcl_arch"
exit 1
fi
- cd $original_dir
+ cd "$original_dir"
done
echo //setting up symlink src/compiler/assembly
remove_dir_safely src/compiler/assembly
original_dir=`pwd`
cd src/compiler
link_or_copy ../assembly assembly
-cd $original_dir
+cd "$original_dir"
echo //setting up OS-dependent information
original_dir=`pwd`
@@ -256,7 +256,7 @@ case "$sbcl_os" in
exit 1
;;
esac
-cd $original_dir
+cd "$original_dir"
# FIXME: Things like :c-stack-grows-..., etc, should be
# *derived-target-features* or equivalent, so that there was a nicer
@@ -26,8 +26,11 @@ find_gnumake
. ./sbcl-pwd.sh
sbcl_pwd
-SBCL_HOME=$SBCL_PWD/contrib
+SBCL_HOME="$SBCL_PWD/contrib"
export SBCL_HOME
+if [ "$OSTYPE" = "cygwin" ] ; then
+ SBCL_PWD=`echo $SBCL_PWD | sed s/\ /\\\\\\\\\ /g`
+fi
SBCL="$SBCL_PWD/src/runtime/sbcl --noinform --core $SBCL_PWD/output/sbcl.core --disable-debugger --no-sysinit --no-userinit"
SBCL_BUILDING_CONTRIB=1
View
@@ -5,7 +5,7 @@
sbcl_pwd() {
if [ "$OSTYPE" = "cygwin" ] ; then
- SBCL_PWD=`cygpath -m $(pwd)`
+ SBCL_PWD=`cygpath -m "$(pwd)"`
else
SBCL_PWD=`pwd`
fi
View
@@ -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.39"
+"1.0.10.40"

0 comments on commit 102b7c8

Please sign in to comment.