From 888aa00c83742a5934b53b707f1f4330e93fb008 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Thu, 19 Sep 2013 02:37:06 +0200 Subject: 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. --- bin/geiser-racket.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') 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+"$@"} |# -- cgit v1.2.3