aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-04-09 09:59:27 +0200
committerLudovic Courtès <ludo@gnu.org>2018-04-09 09:59:27 +0200
commitc2298d440b033c69fce6a6b01ab34dcc840aa775 (patch)
tree8dc62ca3369a7b8ad2e3eff83602462d9d5511b1
parentce405612043810f74b2823d1efff898d020eb6d4 (diff)
downloadcuirass-c2298d440b033c69fce6a6b01ab34dcc840aa775.tar
cuirass-c2298d440b033c69fce6a6b01ab34dcc840aa775.tar.gz
evaluate: Leave GUILE_LOAD_PATH unchanged.
Previously we'd systematically add the first argument to the search path. When that first argument was the empty string (as with the 'guix-modular' jobset), we'd thus add the current directory to the search path, even if the intent was to leave the load path unchanged. Furthermore, a3a7c09b06027bd30a96ae4607fa40bd790af840 changed load-path handling to be explicit in Scheme. * bin/evaluate.in: Remove GUILE_LOAD_PATH assignment.
-rw-r--r--bin/evaluate.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/evaluate.in b/bin/evaluate.in
index 985b787..39287c9 100644
--- a/bin/evaluate.in
+++ b/bin/evaluate.in
@@ -1,8 +1,6 @@
#!/bin/sh
# -*- scheme -*-
# @configure_input@
-GUILE_LOAD_PATH="$1${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
-export GUILE_LOAD_PATH
exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@"
!#
;;;; evaluate -- convert a specification to a job list