summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/data-ini.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-05-12 17:07:12 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-05-12 17:07:12 +0200
commitd7b2b626996a97ebb9911c972b920f8eace34d4f (patch)
tree8088503542c84a8e141712bfabe3e6556154ce77 /tex/context/base/mkiv/data-ini.lua
parent924914d6830838e5b8191c6996c66fbfe50cd70d (diff)
downloadcontext-d7b2b626996a97ebb9911c972b920f8eace34d4f.tar.gz
2020-05-12 16:20:00
Diffstat (limited to 'tex/context/base/mkiv/data-ini.lua')
-rw-r--r--tex/context/base/mkiv/data-ini.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/data-ini.lua b/tex/context/base/mkiv/data-ini.lua
index 3c1531019..6cf5669b3 100644
--- a/tex/context/base/mkiv/data-ini.lua
+++ b/tex/context/base/mkiv/data-ini.lua
@@ -73,7 +73,7 @@ end
-- Next comes the user's home path. We need this as later on we have
-- to replace ~ with its value.
-do
+if not environment.homedir then
local oldhome = osgetenv('HOME')
local homedir = osgetenv(ostype == "windows" and 'USERPROFILE' or 'HOME') or ''