emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 708ffac: * test/infra/gitlab-ci.yml (.job-template): Modify find


From: Michael Albinus
Subject: master 708ffac: * test/infra/gitlab-ci.yml (.job-template): Modify find scripts.
Date: Mon, 29 Nov 2021 15:37:00 -0500 (EST)

branch: master
commit 708ffac5ea1cc8f233a4ff698bc29c2a4ef08fc0
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    * test/infra/gitlab-ci.yml (.job-template): Modify find scripts.
---
 test/infra/gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml
index 4b97f5f..b0ea681 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: []



reply via email to

[Prev in Thread] Current Thread [Next in Thread]