You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@toree.apache.org by lr...@apache.org on 2020/07/14 03:09:22 UTC

[incubator-toree] branch master updated: Update 'make clean' to better handle errors

This is an automated email from the ASF dual-hosted git repository.

lresende pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-toree.git


The following commit(s) were added to refs/heads/master by this push:
     new 29a4487  Update 'make clean' to better handle errors
29a4487 is described below

commit 29a4487338d533883028a240f4857d10cf0e8bf9
Author: Luciano Resende <lr...@apache.org>
AuthorDate: Sat Mar 14 17:41:37 2020 -0700

    Update 'make clean' to better handle errors
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 76a07cc..79a9c00 100644
--- a/Makefile
+++ b/Makefile
@@ -84,8 +84,8 @@ clean-dist:
 clean: VM_WORKDIR=/src/toree-kernel
 clean: clean-dist
 	$(call RUN,$(ENV_OPTS) sbt clean)
-	rm -r `find . -name target -type d`
-	-rm -r `find . -name .ipynb_checkpoints -type d`
+	-find . -name target -type d -exec rm -fr {} +
+	-find . -name .ipynb_checkpoints  -type d -exec rm -fr {} +
 
 .clean-toree-dev-image:
 	@rm -f .toree-dev-image