elua: support for fallback xgettext in xgettext_wrapper

This commit is contained in:
Daniel Kolesa 2014-06-10 13:19:24 +01:00
parent b095f72893
commit bdae95f57a
1 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,10 @@ if [ ! "$ELUA_BIN" ]; then
export EFL_RUN_IN_TREE=1
fi
$ELUA_BIN :xgettext "$@"
if [ -x "$ELUA_BIN" ]; then
$ELUA_BIN :xgettext "$@"
else
$XGETTEXT "$@"
fi
exit $?