mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-29 15:44:03 +00:00
scripts: fix distclean
Do not fail in case either one or both of target/ and .build/ directories are missing. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
b2b285e723
commit
bd8723cd92
3
ct-ng.in
3
ct-ng.in
@ -172,5 +172,6 @@ distclean:: clean
|
||||
@$(ECHO) " CLEAN .config"
|
||||
$(SILENT)rm -f .config .config.* ..config*
|
||||
@$(ECHO) " CLEAN build dir"
|
||||
$(SILENT)chmod -R u+w targets .build
|
||||
$(SILENT)[ ! -d targets ] || chmod -R u+w targets
|
||||
$(SILENT)[ ! -d .build ] || chmod -R u+w .build
|
||||
$(SILENT)rm -rf targets .build
|
||||
|
Loading…
x
Reference in New Issue
Block a user