aboutsummaryrefslogtreecommitdiff
path: root/src/skribilo.in
blob: 4b77c5e0e58cff6a6ff469bd4d9053afd670b50c (plain)
1
2
3
4
5
6
7
#!/bin/sh
# The `skribilo' executable.

main='(module-ref (resolve-module '\''(skribilo)) '\'main')'
exec ${GUILE-@GUILE@} --debug \
                      -c "(catch #t (lambda () (apply $main (cdr (command-line)))) (lambda (key . args) (format (current-error-port) \"exception \`~a' raised~%\" key) (exit 1)))" "$@"