summaryrefslogtreecommitdiff
path: root/po/xgettext_wrapper.sh
blob: 17ca08e48696c071572ac6244f5ce1e65de9fa17 (plain)
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 $?