1.0.12.42: Fix minor regression in RUN-PROGRAM on win32
[sbcl/tcr.git] / sbcl-pwd.sh
blobceded1e1b2c8aafb8c23edaee0e63157d7f7ed71
1 #!/bin/false
2 # Not a shell script, but something intended to be sourced from shell scripts
4 # This ensures that SBCL_PWD is a path understandable to SBCL.
6 sbcl_pwd() {
7 if [ "$OSTYPE" = "cygwin" ] ; then
8 SBCL_PWD=`cygpath -m "$(pwd)"`
9 else
10 SBCL_PWD=`pwd`
12 export SBCL_PWD