Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint' of git://repo.or.cz/git-gui into maint
author
Junio C Hamano
<gitster@pobox.com>
Thu, 6 Mar 2008 08:18:23 +0000
(
00:18
-0800)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 6 Mar 2008 08:18:23 +0000
(
00:18
-0800)
* 'maint' of git://repo.or.cz/git-gui:
git-gui: Gracefully fall back to po2msg.sh if msgfmt --tcl fails
git-gui/Makefile
patch
|
blob
|
history
raw
(from parent 1:
52dce39
)
diff --git
a/git-gui/Makefile
b/git-gui/Makefile
index 01e0a46ba56faa8a17ed8710346b18dd215899c7..4e321742ab8f103d829f33ab4d6ab5430fa132ba 100644
(file)
--- a/
git-gui/Makefile
+++ b/
git-gui/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