From a3fa97a4df61633f3c75434a93eb29b8acf9b6bc Mon Sep 17 00:00:00 2001 From: tiopex Date: Mon, 17 Nov 2025 12:57:42 +0100 Subject: [PATCH] fix: make clean/distclean remove read-only Go module files --- scripts/makefile_helper | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/makefile_helper b/scripts/makefile_helper index 019a2b9d6c..e4be313ab9 100755 --- a/scripts/makefile_helper +++ b/scripts/makefile_helper @@ -19,9 +19,11 @@ fi # task handling case $1 in --clean) + chmod -R u+rwX "${BUILD_ROOT}/${BUILD_BASE}."* 2>/dev/null rm -rf "${BUILD_ROOT}/${BUILD_BASE}."*/* "${BUILD_ROOT}/${BUILD_BASE}."*/.stamps ;; --distclean) + chmod -R u+rwX "${BUILD_ROOT}/${BUILD_BASE}."* 2>/dev/null rm -rf "${BUILD_ROOT}/.ccache" "${BUILD_ROOT}/${BUILD_BASE}."* ;; *)