git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Simplify MSGFMT setting in Makefile

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 12, 2008, 05:51 UTC
Message-ID
<20080312055153.GS8410@spearce.org>
In-Reply-To
<7vr6eg7bn3.fsf_-_@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> wrote:
> To prepare msg files for Tcl scripts, the command that is set to MSGFMT
...
Thanks.
>  * I am planning to close 'master' for -rc1 by the end of this week, so
>    please plan to tell me to pull if you have accumulated changes,
>    thanks.

Please pull. What is in my master right now (7276607 which is this patch) will likely be gitgui-0.10.0. I'm unlikely to have any further changes (beyond perhaps updated po files) between now and 1.5.5 final.

Show 13 quoted lines
>  Makefile |    7 +------
>  1 files changed, 1 insertions(+), 6 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 4e32174..95e99f2 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -221,14 +221,9 @@ ifdef NO_MSGFMT
>  	MSGFMT ?= $(TCL_PATH) po/po2msg.sh
>  else
>  	MSGFMT ?= msgfmt
> -	ifeq ($(shell $(MSGFMT) >/dev/null 2>&1 || echo $$?),127)
> +	ifneq ($(shell $(MSGFMT) --tcl -l C -d . /dev/null 2>/dev/null; echo $?),0)
Missing a $ here, it should be $$? not $?.  Fixed up when I applied.
-- 
Shawn.
Previous: Junio C HamanoNext: Charles Bailey
Message 17 of 21 in “msgmft segfaulting on tiger”
  1. Martin LanghoffFeb 21, 2008
  2. Martin LanghoffFeb 21, 2008
  3. Shawn O. PearceFeb 22, 2008
  4. Martin LanghoffFeb 22, 2008
  5. Gabriel SaldañaFeb 27, 2008
  6. Johannes SchindelinFeb 27, 2008
  7. Gabriel SaldañaFeb 27, 2008
  8. Johannes SchindelinFeb 27, 2008
  9. Junio C HamanoFeb 27, 2008
  10. Shawn O. PearceFeb 28, 2008
  11. msgmft segfaulting on ubuntu gutsy (clean)Gabriel Saldaña, Mar 4, 2008
  12. Shawn O. PearceMar 4, 2008
  13. Gabriel SaldañaFeb 28, 2008
  14. Shawn O. PearceMar 5, 2008
  15. Junio C HamanoMar 6, 2008
  16. Simplify MSGFMT setting in MakefileJunio C Hamano, Mar 12, 2008
  17. Shawn O. PearceMar 12, 2008
  18. Charles BaileyMar 12, 2008
  19. Paul MackerrasMar 14, 2008
  20. Junio C HamanoMar 14, 2008
  21. Andreas EricssonMar 14, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.