Skip to content

Commit d973dc0

Browse files
committed
Merge branch 'jc/i18n-shell-script-gettext'
The auto detection was testing if a fixed string that is known to be non-empty is empty by mistake. * jc/i18n-shell-script-gettext: i18n: fix auto detection of gettext scheme for shell scripts
2 parents 8de55e3 + ac06116 commit d973dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-sh-i18n.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ GIT_INTERNAL_GETTEXT_SH_SCHEME=fallthrough
2121
if test -n "@@USE_GETTEXT_SCHEME@@"
2222
then
2323
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"
2525
then
2626
: no probing necessary
2727
elif test -n "$GIT_GETTEXT_POISON"

0 commit comments

Comments
 (0)