1.0.41.48: make run-sbcl.sh work on Darwin (and presumably other BSD-clones)
authorNikodemus Siivola <nikodemus@random-state.net>
Tue, 17 Aug 2010 11:35:24 +0000 (11:35 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Tue, 17 Aug 2010 11:35:24 +0000 (11:35 +0000)
 * BSD readlink doesn't support -f, fall back on dirname if readlink
   didn't work.

run-sbcl.sh
version.lisp-expr

index 24c0b3d..83f40c1 100644 (file)
@@ -14,7 +14,7 @@
 set -e
 
 BASE=`dirname "$0"`
-BASE=`readlink -f ${BASE}`
+BASE=`(readlink -f ${BASE} 2> /dev/null || echo ${BASE})`
 CORE_DEFINED=no
 
 for arg in $*; do
index a934320..d4b5ac7 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.41.47"
+"1.0.41.48"