diff --git a/po/xgettext_wrapper.sh b/po/xgettext_wrapper.sh index 07ae8042d7..73463bc4c7 100755 --- a/po/xgettext_wrapper.sh +++ b/po/xgettext_wrapper.sh @@ -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 $?