From 176d78938ff52bc5477f61e1ebb869b40a781084 Mon Sep 17 00:00:00 2001 From: Juha Niskanen Date: Mon, 14 Feb 2022 18:26:57 +0200 Subject: [PATCH] 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 --- tools/Unix.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Unix.mk b/tools/Unix.mk index 565a7e7dd8e..d9ea4ee582c 100644 --- a/tools/Unix.mk +++ b/tools/Unix.mk @@ -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