sbcl-pwd.sh: Fix when $OSTYPE is not set.
[sbcl.git] / sbcl-pwd.sh
index 487a5d5..c9d13c3 100644 (file)
@@ -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)