aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-17 10:34:50 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-17 10:34:50 +0200
commit6a6167d2888b7ddde00e1d2e9c9433714843d110 (patch)
treec2708db4e93b0b5b3f50c676e29a14c210c0a8fd /main
parentWork on paths? (diff)
downloadcalp-6a6167d2888b7ddde00e1d2e9c9433714843d110.tar.gz
calp-6a6167d2888b7ddde00e1d2e9c9433714843d110.tar.xz
Change main to a module.
Diffstat (limited to 'main')
-rwxr-xr-xmain4
1 files changed, 2 insertions, 2 deletions
diff --git a/main b/main
index 89c38e51..af2f489a 100755
--- a/main
+++ b/main
@@ -3,7 +3,7 @@
here=$(dirname $(realpath $0))
. $here/env
-GUILE=${GUILE:-guile}
+GUILE=${GUILE:-$(which guile)}
# GUILE_LOAD_PATH=$here/module
-exec $GUILE -e main -s $here/module/main.scm "$@"
+exec $GUILE -c '((@ (main) main) (command-line))' "$@"