summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-05-14 01:36:38 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-05-14 01:36:38 +0200
commit4d8158a0ea1e3019935149431ff93385e72af576 (patch)
tree2c14febd4004ab3b8405a551ac6c735ec1d2afe5 /bin
parent508f06277de0405e48ddc1e62dde214517b5b549 (diff)
downloadgeiser-chez-4d8158a0ea1e3019935149431ff93385e72af576.tar.gz
geiser-chez-4d8158a0ea1e3019935149431ff93385e72af576.tar.bz2
Nits in geiser-racket.sh
Diffstat (limited to 'bin')
-rwxr-xr-xbin/geiser-racket.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/geiser-racket.sh b/bin/geiser-racket.sh
index b3d96e9..09a92a8 100755
--- a/bin/geiser-racket.sh
+++ b/bin/geiser-racket.sh
@@ -7,6 +7,7 @@ exec racket -i -S "$top/racket" -l errortrace -cu "$0" ${1+"$@"}
#lang racket/base
(require (lib "cmdline.rkt"))
+(require geiser/server)
(define port (make-parameter 0))
(define host (make-parameter #f (lambda (h) (and (string? h) h))))
@@ -17,5 +18,4 @@ exec racket -i -S "$top/racket" -l errortrace -cu "$0" ${1+"$@"}
(("-n" "--hostname") n "Network hostname, or #f for all interfaces" (host n))
(("-p" "--port") p "Geiser server port" (port (string->number p)))))
-(printf "Geiser server running at port ~a~%"
- ((dynamic-require 'geiser/server 'start-geiser) (port) (host)))
+(printf "Geiser server running at port ~a~%" (start-geiser (port) (host)))