summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-09-19 02:37:06 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-09-19 02:37:06 +0200
commit888aa00c83742a5934b53b707f1f4330e93fb008 (patch)
tree1cc3454933df222532639a247d1582be2c5515fa /bin
parentf1b78bfbe1960af9378187cff4c3e8e0e25dcd97 (diff)
downloadgeiser-888aa00c83742a5934b53b707f1f4330e93fb008.tar.gz
geiser-888aa00c83742a5934b53b707f1f4330e93fb008.tar.bz2
Paving the way to MELPA (and simpler ELPA generation)
Following the discussion in GitHub, i'm adding an alternative scheme path to geiser.el as well as ##autoload cookies. As a first benefit, this simplifies a bit the elpa target, after playing a similar path trick in bin/geiser-racket.sh. Things should be almost ready for creating a MELPA recipe.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/geiser-racket.sh5
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+"$@"}
|#