1.0.10.40: Fix build for windows when source directory contains spaces
[sbcl.git] / sbcl-pwd.sh
1 #!/bin/false
2 # Not a shell script, but something intended to be sourced from shell scripts
3
4 # This ensures that SBCL_PWD is a path understandable to SBCL.
5
6 sbcl_pwd() {
7     if [ "$OSTYPE" = "cygwin" ] ; then
8         SBCL_PWD=`cygpath -m "$(pwd)"`
9     else
10         SBCL_PWD=`pwd`
11     fi
12     export SBCL_PWD
13 }