Replace a bunch of FIXMEs with a couple KLUDGEs.
[sbcl.git] / sbcl-pwd.sh
blobc9d13c311cdd63a1428967e6f3cf35e0b10c5bf8
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 case "${OSTYPE:-}" in
8 cygwin)
9 SBCL_PWD="`cygpath -m \"$(pwd)\"`" ;;
10 msys)
11 SBCL_PWD="`pwd -W`" ;;
13 SBCL_PWD="`pwd`" ;;
14 esac
15 export SBCL_PWD