projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.43.52: correct char-size for :EXTERNAL-FORMAT :DEFAULT
[sbcl.git]
/
run-sbcl.sh
diff --git
a/run-sbcl.sh
b/run-sbcl.sh
index
f1876c3
..
8f0cd00
100644
(file)
--- a/
run-sbcl.sh
+++ b/
run-sbcl.sh
@@
-14,14
+14,26
@@
set -e
BASE=`dirname "$0"`
set -e
BASE=`dirname "$0"`
+if (readlink -f "${BASE}") >/dev/null 2>&1; then
+ BASE=`readlink -f ${BASE}`
+else
+ opwd=`pwd`
+ cd "${BASE}"
+ BASE=`pwd`
+ cd "${opwd}"
+fi
+if [ "$OSTYPE" = "cygwin" ]
+then
+ BASE=`cygpath -w "$BASE"`
+fi
CORE_DEFINED=no
for arg in $*; do
case $arg in
CORE_DEFINED=no
for arg in $*; do
case $arg in
- (--core)
+ --core)
CORE_DEFINED=yes
;;
CORE_DEFINED=yes
;;
- (--help)
+ --help)
echo "usage: run-sbcl.sh sbcl-options*"
echo
echo "Runs SBCL from the build directory or binary tarball without need for"
echo "usage: run-sbcl.sh sbcl-options*"
echo
echo "Runs SBCL from the build directory or binary tarball without need for"