elua: use the new app loading system

This commit is contained in:
Daniel Kolesa 2014-05-07 11:19:24 +01:00 committed by Daniel Kolesa
parent 544bf37c30
commit bebe011676
3 changed files with 3 additions and 5 deletions

View File

@ -13,7 +13,7 @@ XGETTEXT_FALLBACK := $(XGETTEXT)
# Override xgettext with a LuaJIT aware variant (which calls
# into plain xgettext if it needs to, and handles Lua on its own)
XGETTEXT = XGETTEXT=$(XGETTEXT_FALLBACK) EFL_RUN_IN_TREE=1 \
$(top_builddir)/src/bin/elua/elua $(top_builddir)/src/bin/elua/xgettext.lua
$(top_builddir)/src/bin/elua/elua :xgettext
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user

View File

@ -159,7 +159,7 @@ local opts, args = getopt.parse {
}
}
if not opts or opts["h"] or opts["v"] or #args == 0 then
if not opts or opts["h"] or opts["v"] then
return true
end
@ -205,9 +205,7 @@ if hasxgettext and not onlylua then
gargs[#gargs + 1] = v
end
end
if #gargs ~= ngargs then
cutil.exec(unpack(gargs))
end
cutil.exec(unpack(gargs))
end
return true