From d751bb640e6ea7b340c2c4c79eea858a93862b9d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 9 Jan 2013 13:23:33 +0000 Subject: 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 --- Master/bin/win32/runscript.tlu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Master/bin') 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' -- cgit v1.2.3