projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LDB/DPB do not check for negative indexes.
[sbcl.git]
/
sbcl-pwd.sh
diff --git
a/sbcl-pwd.sh
b/sbcl-pwd.sh
index
e4be84d
..
dcf677b
100644
(file)
--- a/
sbcl-pwd.sh
+++ b/
sbcl-pwd.sh
@@
-4,10
+4,10
@@
# 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 $a(pwd)`
+ if [ "${OSTYPE:-}" = "cygwin" ] ; then
+ SBCL_PWD="`cygpath -m \"$(pwd)\"`"
else
else
- SBCL_PWD=`pwd`
+ SBCL_PWD="`pwd`"
fi
export SBCL_PWD
}
fi
export SBCL_PWD
}