summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-09-03 18:54:14 -0400
committerShawn O. Pearce <spearce@spearce.org>2007-09-03 23:04:54 -0400
commit12fb223326b561132d528bb010c6bdeaa828acd3 (patch)
treebf472ceba98921d211b8c3228cf9ab03a06a1a28 /Makefile
parent74e528bf44e715774e3a8e0003a6b2b250f4f0b9 (diff)
downloadgit-12fb223326b561132d528bb010c6bdeaa828acd3.tar.gz
git-gui: Ensure msgfmt failure stops GNU make
If we have a failure executing msgfmt (such as the process just crashes no matter what arguments you supply it because its own installation is borked) we should stop the build process rather than letting it continue along its merry way as if the .msg files were created. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 875edacac3..df6f6b7275 100644
--- a/Makefile
+++ b/Makefile
@@ -47,8 +47,8 @@ ifndef V
QUIET_GEN = $(QUIET)echo ' ' GEN $@ &&
QUIET_BUILT_IN = $(QUIET)echo ' ' BUILTIN $@ &&
QUIET_INDEX = $(QUIET)echo ' ' INDEX $(dir $@) &&
- QUIET_MSGFMT0 = $(QUIET)printf ' MSGFMT %12s ' $@ &&
- QUIET_MSGFMT1 = 2>&1 | sed -e 's/fuzzy translations/fuzzy/' | sed -e 's/ messages//g'
+ QUIET_MSGFMT0 = $(QUIET)printf ' MSGFMT %12s ' $@ && v=`
+ QUIET_MSGFMT1 = 2>&1` && echo "$$v" | sed -e 's/fuzzy translations/fuzzy/' | sed -e 's/ messages//g'
QUIET_2DEVNULL = 2>/dev/null
INSTALL_D0 = dir=