diff options
author | eroux <elie.roux@telecom-bretagne.eu> | 2010-02-26 10:49:09 +0100 |
---|---|---|
committer | eroux <elie.roux@telecom-bretagne.eu> | 2010-02-26 10:49:09 +0100 |
commit | 20f639783ac4c7591fb39ff95bce690e31583681 (patch) | |
tree | 59d2b8a5ab212bdb103f504a70d89db22371445d /update-luatex-font-database.lua | |
parent | 87fbf8b2a8f9c82bb9008a3c77330718177142a2 (diff) | |
download | luaotfload-20f639783ac4c7591fb39ff95bce690e31583681.tar.gz |
Adding a swith on arg[0]
Diffstat (limited to 'update-luatex-font-database.lua')
-rw-r--r-- | update-luatex-font-database.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/update-luatex-font-database.lua b/update-luatex-font-database.lua index 6b68e68..38a83cb 100644 --- a/update-luatex-font-database.lua +++ b/update-luatex-font-database.lua @@ -117,6 +117,9 @@ local function process_cmdline() luaotfload.fonts.directory = kpse.expand_var("$TEXMFSYSVAR") .. "/tex/" end end + if string.match(arg[0], '-sys') then + luaotfload.fonts.directory = kpse.expand_var("$TEXMFSYSVAR") .. "/tex/" + end luaotfload.fonts.log_level = log_level end |