Browse Source

bin/build-packages: remove logs of successfuly checked logs

Erich Eckner 3 months ago
parent
commit
29c5a474fa
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      bin/build-packages

+ 4
- 0
bin/build-packages View File

@@ -500,6 +500,10 @@ while [ "${count}" -ne 0 ] && \
500 500
             ).build-log"
501 501
           if CARCH="${arch}" makepkg --verifysource 2> "${log_file}"; then
502 502
             success=true
503
+            find "${tmp_dir}" -mindepth 1 -maxdepth 1 \
504
+              -name '*.build-log' \
505
+              -type f \
506
+              -delete
503 507
             break
504 508
           fi
505 509