diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/geiser-racket.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/geiser-racket.sh b/bin/geiser-racket.sh index 09a92a8..4ac7712 100755 --- a/bin/geiser-racket.sh +++ b/bin/geiser-racket.sh @@ -1,6 +1,9 @@ #!/bin/bash #| -top="$(dirname $0)/../scheme" +topdir=$(dirname $0) +elpa_scheme=$topdir/scheme +in_scheme=$topdir/../scheme +top=$(if [ -d $elpa_scheme ]; then echo $elpa_scheme; else echo $in_scheme; fi) exec racket -i -S "$top/racket" -l errortrace -cu "$0" ${1+"$@"} |# |