Skip to content
Snippets Groups Projects
Commit ac06116d authored by Junio C Hamano's avatar Junio C Hamano
Browse files

i18n: fix auto detection of gettext scheme for shell scripts


A new code added by ad17ea73 (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: default avatarJunio C Hamano <gitster@pobox.com>
parent 745950ce
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ GIT_INTERNAL_GETTEXT_SH_SCHEME=fallthrough ...@@ -21,7 +21,7 @@ GIT_INTERNAL_GETTEXT_SH_SCHEME=fallthrough
if test -n "@@USE_GETTEXT_SCHEME@@" if test -n "@@USE_GETTEXT_SCHEME@@"
then then
GIT_INTERNAL_GETTEXT_SH_SCHEME="@@USE_GETTEXT_SCHEME@@" 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 then
: no probing necessary : no probing necessary
elif test -n "$GIT_GETTEXT_POISON" elif test -n "$GIT_GETTEXT_POISON"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment