Files
kata-containers/obs-packaging/Makefile
Jose Carlos Venegas Munoz 3d06a83814 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>
2018-08-30 20:57:05 -05:00

9 lines
172 B
Makefile

# Copyright (c) 2018 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
clean:
find . -maxdepth 2 -type d -name '*home:katacontainers*' -exec sudo rm -rf {} \;