summaryrefslogtreecommitdiff
path: root/Master/texmf
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-04-21 06:43:58 +0000
committerNorbert Preining <preining@logic.at>2008-04-21 06:43:58 +0000
commit802bd782efb4823123ea85a038a505cee12bf7ac (patch)
treec8e404669d9907b713a89da6c8e1eaaf550561d4 /Master/texmf
parent7629e3eca0f2b7722a01fb66799a08d49cac67f4 (diff)
fix expansion of ~
git-svn-id: svn://tug.org/texlive/trunk@7564 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-xMaster/texmf/scripts/texlive/texconf.tlu3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/texconf.tlu b/Master/texmf/scripts/texlive/texconf.tlu
index db0a8ef2e4f..ff0b0cd7208 100755
--- a/Master/texmf/scripts/texlive/texconf.tlu
+++ b/Master/texmf/scripts/texlive/texconf.tlu
@@ -43,6 +43,9 @@ if (sys) then
texmfconfig=kpse.var_value('TEXMFSYSCONFIG')
else
texmfconfig=kpse.var_value('TEXMFCONFIG')
+ -- workaround for buggy(?) texlua, it does not expand ~
+ userprofile = os.getenv('USERPROFILE')
+ texmfconfig = string.gsub(texmfconfig, '^~', userprofile)
end