summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-05-28 15:49:46 +0000
committerNorbert Preining <preining@logic.at>2008-05-28 15:49:46 +0000
commit7200f4b3fdf9eed3166f3a35fe0f9a177feba6ea (patch)
tree824ed23f99c9b7ea5001f9a326430c155f1a0461 /Master
parent32bba43a9a7d8fdb8d73a6c47aaa3da78566376a (diff)
texconf.tlu: hopefully fix the move of dvipdmfx.cfg to a different dir
git-svn-id: svn://tug.org/texlive/trunk@8389 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf/scripts/texlive/texconf.tlu5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf/scripts/texlive/texconf.tlu b/Master/texmf/scripts/texlive/texconf.tlu
index 83e7a5e1573..c6aacc56b67 100755
--- a/Master/texmf/scripts/texlive/texconf.tlu
+++ b/Master/texmf/scripts/texlive/texconf.tlu
@@ -411,10 +411,11 @@ function set_dvipdfm_papersize(papersize, program)
local current_setting
-- Read the file.
local filename
- kpse.set_program_name('dvipdfm')
if program == 'dvipdfm' then
+ kpse.set_program_name('dvipdfm')
filename=kpse.find_file('config', 'other text files')
elseif program == 'dvipdfmx' then
+ kpse.set_program_name('dvipdfmx')
filename=kpse.find_file('dvipdfmx.cfg', 'other text files')
end
if not(filename) then
@@ -462,7 +463,7 @@ function set_dvipdfm_papersize(papersize, program)
outfile=texmfconfig..'/dvipdfm/config/config'
mkdirhier(texmfconfig..'/dvipdfm/config')
else
- outfile=texmfconfig..'/dvipdfm/dvipdfmx.cfg'
+ outfile=texmfconfig..'/dvipdfmx/dvipdfmx.cfg'
end
print ('> '..outfile)
local config=assert(io.open(outfile, 'w'))