Re: [PATCH] i18n: disable i18n for shell scripts if NO_GETTEXT defined
From: Alex Riesen <hidden>
Date: 2016-06-15 22:52:50
On Fri, Jan 20, 2012 at 20:35, Junio C Hamano [off-list ref] wrote:
Alex Riesen [off-list ref] writes:quoted
quoted
And then a --version for whatever programs that function uses, e.g. here: $ envsubst --versionNothing. Exit code 127.Interesting. $ wonbsubst --version; echo $? bash: wonbsubst: command not found 127 Perhaps your distro lacks a necessary package dependencies between gettext and envsubst?quoted
I believe gettext (the binary) just doesn't start at all here. Maybe some Cygwin library wrong or missing library. Happens all the time here,...Aha. I guess we either leave it broken for broken installation or add an extra "MY_GETTEXT_IS_BROKEN" option; in either way, it does not sound like a serious enough issue that is widespread to be urgently fixed during the feature freeze.
Ævar already posted a very cute little fix for this, which looks pretty minimal and is very obvious. P.S. Sorry for html mail before (tried to use the Android Gmail client).