summaryrefslogtreecommitdiff
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
commitdd27853ab0cf3d812438529614a6295a5cf4def5 (patch)
tree56d13c8bfdc1c8bcdf98fee554fd5bd7f8565ee2
parenta1055e63b42d88f6d99e1a3cb2071d508685124c (diff)
downloadgeiser-dd27853ab0cf3d812438529614a6295a5cf4def5.tar.gz
geiser-dd27853ab0cf3d812438529614a6295a5cf4def5.tar.bz2
Nits in geiser-racket.sh
-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)))