1.0.27.23: fix bashism in sbcl-pwd.sh
authorNikodemus Siivola <nikodemus@random-state.net>
Wed, 22 Apr 2009 20:14:09 +0000 (20:14 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Wed, 22 Apr 2009 20:14:09 +0000 (20:14 +0000)
 * OSTYPE might not be set in a non-bash shell.

sbcl-pwd.sh
version.lisp-expr

index a835689..dcf677b 100644 (file)
@@ -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`"
index e1e7347..564bdcc 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.27.22"
+"1.0.27.23"