summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2008-03-05 02:13:37 -0500
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2008-03-05 02:13:37 -0500
commitf15b75855fe15ac54adc4908f65e8a7572d47c9f (patch)
treeddaa2e55982c8737c71e05e8a3874a3169b992c8
parentMerge branch 'maint' (diff)
parentgit-gui: Gracefully fall back to po2msg.sh if msgfmt --tcl fails (diff)
downloadtgif-f15b75855fe15ac54adc4908f65e8a7572d47c9f.tar.xz
Merge branch 'maint'
* maint: git-gui: Gracefully fall back to po2msg.sh if msgfmt --tcl fails
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 01e0a46ba5..4e321742ab 100644
--- a/Makefile
+++ b/Makefile
@@ -224,6 +224,11 @@ else
ifeq ($(shell $(MSGFMT) >/dev/null 2>&1 || echo $$?),127)
MSGFMT := $(TCL_PATH) po/po2msg.sh
endif
+ ifeq (msgfmt,$(MSGFMT))
+ ifeq ($(shell $(MSGFMT) --tcl -l C -d . /dev/null 2>/dev/null || echo $?),1)
+ MSGFMT := $(TCL_PATH) po/po2msg.sh
+ endif
+ endif
endif
msgsdir = $(gg_libdir)/msgs