diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-08-12 09:26:42 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-08-12 09:26:42 +0200 |
commit | a72ba44a33bd863a4e92f4253dc7602014c1d5f8 (patch) | |
tree | 9d119f66e12e9053f2339ecb89c354a08d918ba1 /contrib/taler-terms-generator.in | |
parent | 0208fc5ef550a94c7a4a09fde0242b40996f804f (diff) | |
download | exchange-a72ba44a33bd863a4e92f4253dc7602014c1d5f8.tar.xz |
-fix -l option
Diffstat (limited to 'contrib/taler-terms-generator.in')
-rwxr-xr-x | contrib/taler-terms-generator.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/taler-terms-generator.in b/contrib/taler-terms-generator.in index d328c7707..b1e249e8c 100755 --- a/contrib/taler-terms-generator.in +++ b/contrib/taler-terms-generator.in @@ -167,7 +167,7 @@ fi if [ -n "${ADD_LANGUAGE+x}" ] then - if echo "${ADD_LANGUAGE}" | grep -e '..' > /dev/null + if ! echo "${ADD_LANGUAGE}" | grep -e '^..$' > /dev/null then echo "Error: Invalid language '${ADD_LANGUAGE}'. Two characters (en, de, fr, ...) expected." 1>&2 exit 1 |