about summary refs log tree commit diff
path: root/Src/zsh.mdd
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2013-11-14 11:59:22 +0000
committerPeter Stephenson <pws@zsh.org>2013-11-14 11:59:35 +0000
commit11d8781a3f8dc4a80128f9ec82644c05ae16f6ec (patch)
tree6c147b4f4bf3fdbb696392e39e801db4516f47af /Src/zsh.mdd
parent4c611f9323a516b95c3da19065e3f9040074de7e (diff)
downloadzsh-11d8781a3f8dc4a80128f9ec82644c05ae16f6ec.tar.gz
zsh-11d8781a3f8dc4a80128f9ec82644c05ae16f6ec.tar.xz
zsh-11d8781a3f8dc4a80128f9ec82644c05ae16f6ec.zip
31983: suppress warning from cmp when genering patchlevel.h.
The warning doesn't indicate a problem, so isn't useful.
Diffstat (limited to 'Src/zsh.mdd')
-rw-r--r--Src/zsh.mdd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/zsh.mdd b/Src/zsh.mdd
index 4bc884b3d..d77fc4336 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 && rm -f $@.tmp || mv $@.tmp $@; \
+	  cmp $@ $@.tmp 2>/dev/null && rm -f $@.tmp || mv $@.tmp $@; \
 	fi
 FORCE: