diff options
author | Daiki Ueno <ueno@gnu.org> | 2016-06-08 15:27:59 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2016-06-08 15:28:49 +0900 |
commit | 59d9b55bb203ec78be4ace221123e0d1b5827b35 (patch) | |
tree | 4bbc2d778869beac6c86475523d366b7e8700966 /gettext-tools/tests/xgettext-java-2 | |
parent | a2a048cfe39504db09cfbbfdfc6cb9f417b3789f (diff) | |
download | external_gettext-59d9b55bb203ec78be4ace221123e0d1b5827b35.zip external_gettext-59d9b55bb203ec78be4ace221123e0d1b5827b35.tar.gz external_gettext-59d9b55bb203ec78be4ace221123e0d1b5827b35.tar.bz2 |
tests: Use Exit instead of exit if init.sh is used
* gettext-tools/tests/*: Use Exit instead of exit, as suggested by
init.sh.
Diffstat (limited to 'gettext-tools/tests/xgettext-java-2')
-rwxr-xr-x | gettext-tools/tests/xgettext-java-2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/tests/xgettext-java-2 b/gettext-tools/tests/xgettext-java-2 index 6cdce99..5f20864 100755 --- a/gettext-tools/tests/xgettext-java-2 +++ b/gettext-tools/tests/xgettext-java-2 @@ -56,7 +56,7 @@ comment! */ "this is a single " /* now comes the concatenation! */ + // after + EOF : ${XGETTEXT=xgettext} -${XGETTEXT} --from-code=ISO-8859-1 -c -o xg-j-2.tmp xg-j-2.java 2>/dev/null || exit 1 +${XGETTEXT} --from-code=ISO-8859-1 -c -o xg-j-2.tmp xg-j-2.java 2>/dev/null || Exit 1 # Don't simplify this to "grep ... < xg-j-2.tmp", otherwise OpenBSD 4.0 grep # only outputs "Binary file (standard input) matches". cat xg-j-2.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-j-2.pot |