Fix contrib building on mingw.

The current directory has to be found out using pwd -W, to avoid any
conversion into unix-looking pathnames.
This commit is contained in:
Stas Boukarev 2013-11-06 21:11:53 +04:00
parent 8c773ad69a
commit cf49f2d086
2 changed files with 9 additions and 5 deletions

1
NEWS
View file

@ -9,6 +9,7 @@ changes relative to sbcl-1.1.13:
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

View file

@ -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
}