mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
17 lines
384 B
Bash
17 lines
384 B
Bash
#!/bin/false
|
|
# Not a shell script, but something intended to be sourced from shell scripts
|
|
|
|
# This ensures that SBCL_PWD is a path understandable to SBCL.
|
|
|
|
sbcl_pwd() {
|
|
case "${OSTYPE:-}" in
|
|
cygwin)
|
|
SBCL_PWD="`cygpath -m \"$(pwd)\"`" ;;
|
|
msys)
|
|
SBCL_PWD="`pwd -W`" ;;
|
|
*)
|
|
SBCL_PWD="`pwd`" ;;
|
|
esac
|
|
export SBCL_PWD
|
|
}
|