X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=sbcl-pwd.sh;h=dcf677b7cebde88a644e729f44cddac3004e0e38;hb=c6bbd001a82bb846fe8366b09787912c02bd8e2e;hp=a835689758ec6c99058ef53680a4cdcfbeac8955;hpb=a42922aef908a1b45ae5420d51b2ca7ee1bafb9e;p=sbcl.git diff --git a/sbcl-pwd.sh b/sbcl-pwd.sh index a835689..dcf677b 100644 --- a/sbcl-pwd.sh +++ b/sbcl-pwd.sh @@ -4,7 +4,7 @@ # This ensures that SBCL_PWD is a path understandable to SBCL. sbcl_pwd() { - if [ "$OSTYPE" = "cygwin" ] ; then + if [ "${OSTYPE:-}" = "cygwin" ] ; then SBCL_PWD="`cygpath -m \"$(pwd)\"`" else SBCL_PWD="`pwd`"