summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2014-01-27 15:42:48 +0000
committerPeter Stephenson <pws@zsh.org>2014-01-27 15:42:48 +0000
commita0c9da72f2625ac79648add48262532ddff2166d (patch)
treebfc2e26bcfb5bf24b7aae36bb5c4e4fe3b57bd72
parent1fc259363f56e0e7c9035d094ae581d79bf0561b (diff)
downloadzsh-a0c9da72f2625ac79648add48262532ddff2166d.tar.gz
zsh-a0c9da72f2625ac79648add48262532ddff2166d.tar.xz
zsh-a0c9da72f2625ac79648add48262532ddff2166d.zip
unposted: update 31983 to suppress stdout from cmp, too.
Gets rid of unnecessary messages building patchlevel.h.
-rw-r--r--ChangeLog5
-rw-r--r--Src/zsh.mdd2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1228f9675..6cb62c8ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-01-27  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* unposted: Src/zsh.mdd: update 31983 to suppress stdout from
+	cmp, too.
+
 2014-01-23  Bart Schaefer  <schaefer@zsh.org>
 
 	* unposted: Doc/Zsh/arith.yo: use LPAR() instead of parens
diff --git a/Src/zsh.mdd b/Src/zsh.mdd
index d77fc4336..cec3edab7 100644
--- a/Src/zsh.mdd
+++ b/Src/zsh.mdd
@@ -44,7 +44,7 @@ patchlevel.h: FORCE
 	  cp -f $(sdir)/$@.release $@; \
 	else \
 	  echo '#define ZSH_PATCHLEVEL "'`cd $(sdir) && git describe --tags --long`'"' > $@.tmp; \
-	  cmp $@ $@.tmp 2>/dev/null && rm -f $@.tmp || mv $@.tmp $@; \
+	  cmp $@ $@.tmp >/dev/null 2>&1 && rm -f $@.tmp || mv $@.tmp $@; \
 	fi
 FORCE: