aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-12-18 05:16:33 -0600
committerRob Landley <rob@landley.net>2020-12-18 05:16:33 -0600
commite474cf80c37f7c91d01c2c5b81cbc54444f47cc9 (patch)
treed7f880ea34b07b44fa4b304eae72ac9706f34ef7 /Makefile
parentfbc2252f4f5260d616d6929351aa9cac5d227124 (diff)
downloadtoybox-e474cf80c37f7c91d01c2c5b81cbc54444f47cc9.tar.gz
Elliott said that chmod 000 debris was confusing host rm -rf, and macos
couldn't handle chmod +s in /tmp. Try to make test_chmod clear out debris and teach make clean to chmod -R generated before deleting it.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 21d3359f..52602d25 100644
--- a/Makefile
+++ b/Makefile
@@ -63,6 +63,7 @@ root_clean:
@echo root cleaned
clean::
+ @chmod -fR 700 generated || true
@rm -rf toybox generated change .singleconfig*
@echo cleaned