i18n: fix auto detection of gettext scheme for shell scripts
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>
Junio C Hamano committed
Mar 12, 2012 at 14:41 UTC
ac06116d44ae3738e7ad0f711074186e006a1eb5
1 file changed
+1
-1
git-sh-i18n.sh
+1
-1
@@ -21,7 +21,7 @@ GIT_INTERNAL_GETTEXT_SH_SCHEME=fallthrough
21
if test -n "@@USE_GETTEXT_SCHEME@@"
22
then
23
GIT_INTERNAL_GETTEXT_SH_SCHEME="@@USE_GETTEXT_SCHEME@@"
24
-elif test -n "@@USE_FALLTHROUGH_GETTEXT_SCHEME@@$GIT_INTERNAL_GETTEXT_TEST_FALLBACKS"
24
+elif test -n "$GIT_INTERNAL_GETTEXT_TEST_FALLBACKS"
25
then
26
: no probing necessary
27
elif test -n "$GIT_GETTEXT_POISON"