summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2013-01-09 22:12:54 +0000
committerNorbert Preining <preining@logic.at>2013-01-09 22:12:54 +0000
commitf2e0420b7971a75478867c2c5facd4988612638a (patch)
tree19ab85e336d1159d3dcd5f7aacaea2ffb16af55a /Master
parentbb90331d11b459d4dfb36e82b1845830ef500066 (diff)
fix2 to runscript.tlu to use the escaped . instead of the regexp active .
git-svn-id: svn://tug.org/texlive/trunk@28777 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/bin/win32/runscript.tlu2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/bin/win32/runscript.tlu b/Master/bin/win32/runscript.tlu
index f60bbcd7f18..ac4e84ea033 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'