relocate.cc: Introduce new command set?.
Contrary to set, set? won't override environment variables that are
already set.
We need this for reproducable builds, in particular with gub: The standard
fontconfig setup includes font files like ~/.fonts or /usr/share, which
obviously must not be used. Up to now, the fontconfig.reloc file in gub
uses the set relocation command, which doesn't allow gub to replace the
fontconfig configuration file with a temporary alternative while building
test files or documentation. Future changes in gub will use set? instead.
Diff:
Passes make. make check and a full make doc.
Needs more tidying up (see Rietveld)
Perhaps a misunderstanding: My Rietveld comment #6 was a response to David, it is not related to the patch itself, which is OK and ready to push. I will prepare a follow-up patch.
Patch on countdown for Dec 30th
Patch counted down. Please push.
Pushed to staging as
commit 8067320145662554d85e59e6b9e6df3770f9e4a3
Author: Werner Lemberg wl@gnu.org
Date: Fri Dec 21 17:47:11 2018 +0100