summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-03-12 14:41:15 -0700
committerJunio C Hamano <gitster@pobox.com>2012-03-20 15:27:58 -0700
commit5bb9ecee6308d2c52424e0a622527b4dfaaf9896 (patch)
treee3c333b9dea8626919cbf20bfc42ff010097cc95
parent60f40791f9f7b671b300b752a9beebc7737a5242 (diff)
downloadgit-ar/i18n-no-gettext.tar.gz
i18n: fix auto detection of gettext scheme for shell scriptsar/i18n-no-gettext
A new code added by ad17ea7 (add a Makefile switch to avoid gettext translation in shell scripts, 2012-01-23) tried to optionally force a gettext scheme to "fallthrough", but ended up forcing it to everybody. Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--git-sh-i18n.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-sh-i18n.sh b/git-sh-i18n.sh
index d5fae993b0..6a27f68136 100644
--- a/git-sh-i18n.sh
+++ b/git-sh-i18n.sh
@@ -21,7 +21,7 @@ GIT_INTERNAL_GETTEXT_SH_SCHEME=fallthrough
if test -n "@@USE_GETTEXT_SCHEME@@"
then
GIT_INTERNAL_GETTEXT_SH_SCHEME="@@USE_GETTEXT_SCHEME@@"
-elif test -n "@@USE_FALLTHROUGH_GETTEXT_SCHEME@@$GIT_INTERNAL_GETTEXT_TEST_FALLBACKS"
+elif test -n "$GIT_INTERNAL_GETTEXT_TEST_FALLBACKS"
then
: no probing necessary
elif test -n "$GIT_GETTEXT_POISON"