[dfac7c]: sbcl-pwd.sh Maximize Restore History

Download this file

sbcl-pwd.sh    14 lines (11 with data), 304 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#!/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() {
if [ "${OSTYPE:-}" = "cygwin" ] ; then
SBCL_PWD="`cygpath -m \"$(pwd)\"`"
else
SBCL_PWD="`pwd`"
fi
export SBCL_PWD
}