mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
31983: suppress warning from cmp when genering patchlevel.h.
The warning doesn't indicate a problem, so isn't useful.
This commit is contained in:
parent
4c611f9323
commit
11d8781a3f
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2013-11-14 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 31983: Src/zsh.mdd: suppress warning from cmp that doesn't
|
||||
indicate a problem when generating patchlevel header.
|
||||
|
||||
* 31982: Src/math.c, Test/C01arith.ztst: detection of floating
|
||||
point constants had run rampant in users/17445. Fix the original
|
||||
problem another way.
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue