diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-05-14 01:36:38 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-05-14 01:36:38 +0200 |
commit | dd27853ab0cf3d812438529614a6295a5cf4def5 (patch) | |
tree | 56d13c8bfdc1c8bcdf98fee554fd5bd7f8565ee2 /bin | |
parent | a1055e63b42d88f6d99e1a3cb2071d508685124c (diff) | |
download | geiser-dd27853ab0cf3d812438529614a6295a5cf4def5.tar.gz geiser-dd27853ab0cf3d812438529614a6295a5cf4def5.tar.bz2 |
Nits in geiser-racket.sh
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/geiser-racket.sh | 4 |
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))) |