mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-04 16:30:52 +00:00
update cleanup to use -depth option
Signed-off-by: Zachery Hostens <zacheryph@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ set -e
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
clean_up() {
|
||||
find . -iname "test-containerd*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
find . -depth -iname "test-containerd*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
|
@@ -12,7 +12,7 @@ set -e
|
||||
NAME=test-ctr
|
||||
|
||||
clean_up() {
|
||||
find . -iname "test-ctr*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
find . -depth -iname "test-ctr*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
|
Reference in New Issue
Block a user