q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f683a2dd2f0bd4884614f3fd823fe91c579dffe9

commit f683a2dd2f0bd4884614f3fd823fe91c579dffe9
Author: Daniel Kolesa <[email protected]>
Date:   Mon Jun 16 09:53:57 2014 +0100

    po: xgettext_wrapper now respects EXEEXT
---
 po/Makevars.in         | 3 ++-
 po/xgettext_wrapper.sh | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/po/Makevars.in b/po/Makevars.in
index b1663e7..a04b074 100644
--- a/po/Makevars.in
+++ b/po/Makevars.in
@@ -13,7 +13,8 @@ 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 = ELUA=@elua_bin@ ELUA_INTREE=$(top_srcdir)/src/bin/elua/elua \
-       XGETTEXT=$(XGETTEXT_FALLBACK) $(top_srcdir)/po/xgettext_wrapper.sh
+       XGETTEXT=$(XGETTEXT_FALLBACK) ELUA_EXT=@EXEEXT@ \
+       $(top_srcdir)/po/xgettext_wrapper.sh
 
 # These options get passed to xgettext.
 XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user
diff --git a/po/xgettext_wrapper.sh b/po/xgettext_wrapper.sh
index 73463bc..050bae5 100755
--- a/po/xgettext_wrapper.sh
+++ b/po/xgettext_wrapper.sh
@@ -3,7 +3,7 @@
 ELUA_BIN="$ELUA"
 
 if [ ! "$ELUA_BIN" ]; then
-    ELUA_BIN="$ELUA_INTREE"
+    ELUA_BIN="${ELUA_INTREE}${ELUA_EXT}"
     export EFL_RUN_IN_TREE=1
 fi
 

-- 


Reply via email to