mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-26 02:24:21 +01:00
make -f .obs-packaging/Makefile clean fails with "No such file or directory" even after deleting the files returned by find. Fix it by using -prune. Fixes: #203 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
9 lines
179 B
Makefile
9 lines
179 B
Makefile
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
|
|
clean:
|
|
find . -maxdepth 2 -type d -name '*home:katacontainers*' -prune -exec sudo rm -rf {} \;
|