The current directory has to be found out using pwd -W, to avoid any
conversion into unix-looking pathnames.
     undefined-function warnings in subsequent forms. (lp#503095)
   * bug fix: EQUALP now compares correctly structures with raw slots larger
     than a single word.
+  * bug fix: contribs couldn't be built on Windows with MinGW.
 
 changes in sbcl-1.1.13 relative to sbcl-1.1.12:
   * optimization: better distribution of SXHASH over small conses of related
 
 # 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
 }