Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: fix auto detection of gettext scheme for shell scripts
author
Junio C Hamano
<gitster@pobox.com>
Mon, 12 Mar 2012 21:41:15 +0000
(14:41 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 12 Mar 2012 21:41:15 +0000
(14:41 -0700)
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>
git-sh-i18n.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
745950c
)
diff --git
a/git-sh-i18n.sh
b/git-sh-i18n.sh
index d5fae993b0c093bdd07079101df303c2c74deae3..6a27f6813624e10b479cae244ad3bb9d2127ff6d 100644
(file)
--- 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"