Merge pull request #2030 from tiopex/fix-clean

fix: make clean/distclean remove read-only Go module files
This commit is contained in:
tiopex
2025-11-17 12:58:34 +01:00
committed by GitHub

View File

@@ -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}."*
;;
*)