Browse Source

bin/build-packages: do not remove _all_ log files if checksum is once correctly computed - only remove the log file for _that_

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

+ 1
- 4
bin/build-packages View File

@@ -500,10 +500,7 @@ 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
+            rm "${log_file}"
507 504
             break
508 505
           fi
509 506