diff options
author | Norbert Preining <preining@logic.at> | 2013-01-09 13:23:33 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2013-01-09 13:23:33 +0000 |
commit | d751bb640e6ea7b340c2c4c79eea858a93862b9d (patch) | |
tree | 1431d811f2db47f4228514c36e9b8d5181f926a4 /Master/bin/win32 | |
parent | a094a6257ffda6ce1ff051214aae7fcd47093f04 (diff) |
fix runscript.tlu to work with newer luatex and lua5.2 where \. is not accepted
git-svn-id: svn://tug.org/texlive/trunk@28774 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/win32')
-rwxr-xr-x | Master/bin/win32/runscript.tlu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/bin/win32/runscript.tlu b/Master/bin/win32/runscript.tlu index 6cd0b30d8ef..f60bbcd7f18 100755 --- a/Master/bin/win32/runscript.tlu +++ b/Master/bin/win32/runscript.tlu @@ -548,7 +548,7 @@ elseif progname == 'repstopdf' or progname == 'rpdfcrop' then argline = '--restricted ' .. argline
progname = string.sub(progname, 2, -1)
elseif progname == 'texworks' then
- local winver = tonumber(string.match(os.uname().version, '%D*(%d+\.?%d*)'))
+ local winver = tonumber(string.match(os.uname().version, '%D*(%d+.?%d*)'))
assert(winver >= 5.01, "Windows XP or newer required to run TeXworks")
local TW_LIBPATH = kpse.var_value('TW_LIBPATH') or
kpse.var_value('TEXMFCONFIG')..'/texworks'
|