X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=sbcl-pwd.sh;h=c9d13c311cdd63a1428967e6f3cf35e0b10c5bf8;hb=HEAD;hp=dcf677b7cebde88a644e729f44cddac3004e0e38;hpb=4c4e3579b97003e54b747fa9c1fb70c761026b31;p=sbcl.git diff --git a/sbcl-pwd.sh b/sbcl-pwd.sh index dcf677b..c9d13c3 100644 --- a/sbcl-pwd.sh +++ b/sbcl-pwd.sh @@ -4,10 +4,13 @@ # This ensures that SBCL_PWD is a path understandable to SBCL. sbcl_pwd() { - if [ "${OSTYPE:-}" = "cygwin" ] ; then - SBCL_PWD="`cygpath -m \"$(pwd)\"`" - else - SBCL_PWD="`pwd`" - fi + case "${OSTYPE:-}" in + cygwin) + SBCL_PWD="`cygpath -m \"$(pwd)\"`" ;; + msys) + SBCL_PWD="`pwd -W`" ;; + *) + SBCL_PWD="`pwd`" ;; + esac export SBCL_PWD }