From f2f1d4de85124c185b2356cf30d66df9245e52c3 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Wed, 29 Apr 2020 00:56:17 +0800 Subject: [PATCH] toots/testbuild.sh: Remove .version manually after distclean since distclean has to keep this file for the release package Signed-off-by: Xiang Xiao --- tools/testbuild.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/testbuild.sh b/tools/testbuild.sh index 8e6785160c..91efb5354e 100755 --- a/tools/testbuild.sh +++ b/tools/testbuild.sh @@ -174,6 +174,11 @@ function distclean { else makefunc ${JOPTION} distclean + # Remove .version manually because this file is shipped with + # the release package and then distclean has to keep it + + rm -f .version + # Ensure nuttx and apps directory in clean state even with --ignored if [ -d $nuttx/.git ] || [ -d $APPSDIR/.git ]; then