You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/04/29 04:28:26 UTC
[incubator-nuttx] 04/06: toots/testbuild.sh: Remove .version
manually after distclean
This is an automated email from the ASF dual-hosted git repository.
btashton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit f2f1d4de85124c185b2356cf30d66df9245e52c3
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Wed Apr 29 00:56:17 2020 +0800
toots/testbuild.sh: Remove .version manually after distclean
since distclean has to keep this file for the release package
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
tools/testbuild.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/testbuild.sh b/tools/testbuild.sh
index 8e67851..91efb53 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