diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-10-06 22:54:48 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-10-06 22:54:48 +0200 |
commit | bd8723cd92bd039855a011159ae34c2ae07b63ad (patch) | |
tree | 019a364273611173af8fa88be3a16733bfb9a0f1 /ct-ng.in | |
parent | b2b285e7237e54ae8480bd771cd9214871035b87 (diff) | |
download | crosstool-ng-bd8723cd92bd039855a011159ae34c2ae07b63ad.tar.gz crosstool-ng-bd8723cd92bd039855a011159ae34c2ae07b63ad.tar.bz2 crosstool-ng-bd8723cd92bd039855a011159ae34c2ae07b63ad.zip |
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>
Diffstat (limited to 'ct-ng.in')
-rw-r--r-- | ct-ng.in | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |