summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-01-21 10:05:00 +0100
committerLudovic Courtès <ludo@gnu.org>2019-01-21 10:19:32 +0100
commite9dfa4d839cf21b8519724ef53df4862a74c67ec (patch)
tree775fbcbbbb8f06ef603b74e6bf793f749eaee7cd /scripts
parentc680a7daa5e143dd37d1d045805e073497c591be (diff)
downloadguix-e9dfa4d839cf21b8519724ef53df4862a74c67ec.tar.gz
build-self: Execute trampoline in a clean environment.
Previously execution of the trampoline would be somewhat sensitive to
GUILE_LOAD_PATH & co., for example.

* build-aux/build-self.scm (build-program): Remove 'unsetenv' call and
%LOAD-COMPILED-PATH hack.
(call-with-clean-environment): New procedure.
(with-clean-environment): New macro.
(build): Wrap 'open-pipe*' call in 'with-clean-environment'.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions