aboutsummaryrefslogtreecommitdiff
path: root/production-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 /production-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 'production-main')
-rw-r--r--production-main3
1 files changed, 2 insertions, 1 deletions
diff --git a/production-main b/production-main
index 44db76e5..69f1bc06 100644
--- a/production-main
+++ b/production-main
@@ -1,2 +1,3 @@
#!/bin/bash
-exec $(which guile) -c '((@ (calp main) main) (command-line))' "$@"
+GUILE=${GUILE:-guile}
+exec "$GUILE" -c '((@ (calp main) main) (command-line))' "$@"