obs: makefile: fix clean target.

Clean target tries to remove files multiples times.

Limit find max depth to not try to remove files more than once.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
Jose Carlos Venegas Munoz
2018-08-30 20:57:05 -05:00
parent 33214c90d6
commit 3d06a83814

View File

@@ -5,4 +5,4 @@
clean:
find . -type d -name "*home:katacontainers*" -exec sudo rm -rf {} \;
find . -maxdepth 2 -type d -name '*home:katacontainers*' -exec sudo rm -rf {} \;