ソースを参照

execute ccm64 three times as it fails too often

Noah Vogt 1 年間 前
コミット
2bb9bb8351
1 ファイル変更4 行追加2 行削除
  1. 4 2
      local-bin/reportbuild

+ 4 - 2
local-bin/reportbuild

@@ -1,6 +1,8 @@
-#!/bin/sh
+#!/bin/bash
 
-sudo GNUPGHOME=/home/builder/.local/share/gnupg ccm64 s
+for (( i=0; i < 3; i++ )); do
+    sudo GNUPGHOME=/home/builder/.local/share/gnupg ccm64 s && break
+done
 rm *-debug*.pkg.tar.zst
 if sendreportmail | grep -q "BUILD SUCCESS"; then
     git push