From 4d8158a0ea1e3019935149431ff93385e72af576 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Tue, 14 May 2013 01:36:38 +0200 Subject: Nits in geiser-racket.sh --- bin/geiser-racket.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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))) -- cgit v1.2.3