summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-02-26 10:07:38 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-02-26 10:07:38 +0200
commitb8795802b43e389edf8d99294258c2d56bd83af2 (patch)
tree858c5a6f303a88b0a66db13c343eb036ae3611e2
parent78fbca3703985224cb6e084217883881a874304f (diff)
downloadluaotfload-b8795802b43e389edf8d99294258c2d56bd83af2.tar.gz
Remove the arg[0] checking hack
The script is no longer to be run standalone.
-rw-r--r--luaotfload-fonts.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/luaotfload-fonts.lua b/luaotfload-fonts.lua
index 4b7ce97..36aa1a4 100644
--- a/luaotfload-fonts.lua
+++ b/luaotfload-fonts.lua
@@ -336,7 +336,3 @@ end
luaotfload.fonts.scan = scan_dir
luaotfload.fonts.generate = generate
-if arg[0] == "luaotfload-fonts.lua" then
- generate()
-end
-