diff --git a/po/Makevars b/po/Makevars index 71266a8188..f332a1c2d7 100644 --- a/po/Makevars +++ b/po/Makevars @@ -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 diff --git a/src/bin/elua/lualian.lua b/src/bin/elua/apps/lualian.lua similarity index 100% rename from src/bin/elua/lualian.lua rename to src/bin/elua/apps/lualian.lua diff --git a/src/bin/elua/xgettext.lua b/src/bin/elua/apps/xgettext.lua similarity index 98% rename from src/bin/elua/xgettext.lua rename to src/bin/elua/apps/xgettext.lua index cecb1c1cb3..4bb3bb9182 100644 --- a/src/bin/elua/xgettext.lua +++ b/src/bin/elua/apps/xgettext.lua @@ -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 \ No newline at end of file