diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2014-05-28 16:27:40 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2014-06-10 15:48:52 +0100 |
commit | cfae9b5eeb699a547a18b8ac45c1cfdf3bca5c20 (patch) | |
tree | 2b72a796f4a2028f290848b26fdd8abbdf91dd78 /po/xgettext_wrapper.sh | |
parent | 30e5f11dc60b18843f9d36f0c3e60e4bd3126819 (diff) |
elua: if ugly, then at least portable (we already assume presence of bourne shell on windows, so a wrapper doesn't hurt)
Diffstat (limited to '')
-rwxr-xr-x | po/xgettext_wrapper.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/po/xgettext_wrapper.sh b/po/xgettext_wrapper.sh new file mode 100755 index 0000000000..5aee06f4a9 --- /dev/null +++ b/po/xgettext_wrapper.sh | |||
@@ -0,0 +1,12 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | ELUA_BIN="$ELUA" | ||
4 | |||
5 | if [ ! "$ELUA_BIN" ]; then | ||
6 | ELUA_BIN="$ELUA_INTREE" | ||
7 | export EFL_RUN_IN_TREE=1 | ||
8 | fi | ||
9 | |||
10 | $ELUA_BIN :xgettext "$@" | ||
11 | |||
12 | exit $? \ No newline at end of file | ||