From 4082dec495e763a94e24e9a688523810f96e6541 Mon Sep 17 00:00:00 2001 From: Stas Boukarev Date: Fri, 8 Nov 2013 00:02:16 +0400 Subject: [PATCH] sbcl-pwd.sh: Fix when $OSTYPE is not set. --- sbcl-pwd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.4