aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-03-04 01:50:46 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-03-06 11:37:32 +0100
commit1cc4d947524b4780f0055e62e152083982bbf186 (patch)
tree31f4667b8a0eb7a77563df1fe98460a5d6774613 /main
parentTests now use our local compiled files. (diff)
downloadcalp-1cc4d947524b4780f0055e62e152083982bbf186.tar.gz
calp-1cc4d947524b4780f0055e62e152083982bbf186.tar.xz
Allow explicit GUILE environment, document it.
The environment variable GUILE can now be set to override the guile version, which allows us to test the code with multiple versions/implementations. Also updates README to note these variables.
Diffstat (limited to 'main')
-rwxr-xr-xmain3
1 files changed, 1 insertions, 2 deletions
diff --git a/main b/main
index 67e30973..5820b1cd 100755
--- a/main
+++ b/main
@@ -3,7 +3,6 @@
here=$(dirname $(realpath $0))
. $here/env
-GUILE=${GUILE:-$(which guile)}
-# GUILE_LOAD_PATH=$here/module
+make GUILE="$GUILE" go_files
exec $GUILE -c '((@ (calp main) main) (command-line))' "$@"