aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-08-12 09:26:42 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-08-12 09:26:42 +0200
commita72ba44a33bd863a4e92f4253dc7602014c1d5f8 (patch)
tree9d119f66e12e9053f2339ecb89c354a08d918ba1 /contrib
parent0208fc5ef550a94c7a4a09fde0242b40996f804f (diff)
-fix -l option
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/taler-terms-generator.in2
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