mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Merge pull request #2030 from tiopex/fix-clean
fix: make clean/distclean remove read-only Go module files
This commit is contained in:
@@ -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}."*
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user