summaryrefslogtreecommitdiff
path: root/po/xgettext_wrapper.sh
blob: 73463bc4c7dc00a4a356098e9fc948a722bfd743 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

ELUA_BIN="$ELUA"

if [ ! "$ELUA_BIN" ]; then
    ELUA_BIN="$ELUA_INTREE"
    export EFL_RUN_IN_TREE=1
fi

if [ -x "$ELUA_BIN" ]; then
    $ELUA_BIN :xgettext "$@"
else
    $XGETTEXT "$@"
fi

exit $?