tools/Unix.mk: silence output from version.sh

This fixes error:

  tools/Unix.mk:49: *** missing separator. Stop.

that can happen if version.sh is invoked on a git repository
that contains no tags.

See https://github.com/apache/incubator-nuttx/issues/5324

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
This commit is contained in:
Juha Niskanen 2022-02-14 18:26:57 +02:00 committed by Xiang Xiao
parent 8ca4cf49b1
commit 176d78938f

View file

@ -46,7 +46,7 @@ else
# Only update .version if the contents of version.tmp actually changes
# Note: this is executed before any rule is run
$(shell tools/version.sh .version.tmp)
$(shell tools/version.sh .version.tmp > /dev/null)
$(shell $(call TESTANDREPLACEFILE, .version.tmp, .version))
endif