2009/4/28 Yanrui Li
2009/4/28 Yanrui Li
: Linux x86:
sent 221 bytes received 975 bytes 265.78 bytes/sec ... ... MTXrun | using script: ./bin/mtx-update.lua
MTXrun | state: loaded MTXrun | update: start ./bin/mtx-update.lua:266: attempt to get length of global 'individual' (a nil value)
Maybe it is related to the table of 'individual' in mtx-update.lua not being created.
mtx-update.lua, line 266:
individual[#individual+1] = { archive, destination }
This is my patch for the bug. --- mtx-update.lua.old 2009-04-28 19:04:56.000000000 +0800 +++ mtx-update.lua 2009-04-28 18:55:42.000000000 +0800 @@ -172,12 +172,13 @@ dir.mkdirs(texroot) ok = lfs.attributes(texroot,"mode") == "directory" end + if force then dir.mkdirs(format("%s/%s", texroot, "texmf-cache")) dir.mkdirs(format("%s/%s", texroot, "texmf-local")) end + if ok or not force then - local fetched, individual, osplatform = { }, { }, os.currentplatform() -- takes a collection as argument and returns a list of folders -- Best wishes, Li Yanrui * Gentoo Linux (~x86) * ConTeXt Minimals Beta (2009.04.28 08:46)