From: Stas Boukarev Date: Thu, 7 Nov 2013 20:02:16 +0000 (+0400) Subject: sbcl-pwd.sh: Fix when $OSTYPE is not set. X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=4082dec495e763a94e24e9a688523810f96e6541;p=sbcl.git sbcl-pwd.sh: Fix when $OSTYPE is not set. --- diff --git a/sbcl-pwd.sh b/sbcl-pwd.sh index 487a5d5..c9d13c3 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() { - case $OSTYPE in + case "${OSTYPE:-}" in cygwin) SBCL_PWD="`cygpath -m \"$(pwd)\"`" ;; msys)