projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Inherit FP modes for new threads on Windows.
[sbcl.git]
/
sbcl-pwd.sh
diff --git
a/sbcl-pwd.sh
b/sbcl-pwd.sh
index
a835689
..
c9d13c3
100644
(file)
--- 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() {
# 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
}
export SBCL_PWD
}