diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2021-11-29 21:36:51 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2021-11-29 21:36:51 +0100 |
commit | 708ffac5ea1cc8f233a4ff698bc29c2a4ef08fc0 (patch) | |
tree | 512faba019d83fe3bf10f00366455a35f4694fdf /test/infra/gitlab-ci.yml | |
parent | 030a5c570487e2809a1ae902f43d1fecf381030c (diff) | |
download | emacs-708ffac5ea1cc8f233a4ff698bc29c2a4ef08fc0.tar.gz |
* test/infra/gitlab-ci.yml (.job-template): Modify find scripts.
Diffstat (limited to 'test/infra/gitlab-ci.yml')
-rw-r--r-- | test/infra/gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml index 4b97f5f0a84..b0ea6813b30 100644 --- a/test/infra/gitlab-ci.yml +++ b/test/infra/gitlab-ci.yml @@ -93,8 +93,8 @@ default: # Prepare test artifacts. - test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name} - test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name} - - /usr/bin/find ${test_name} ! -name "*.log" -type f -delete - - /usr/bin/find ${test_name} -empty -type d -delete + - find ${test_name} ! -name "*.log" -type f -delete + - find ${test_name} -type d -depth -exec rmdir {} + 2>/dev/null .build-template: needs: [] |