Other: improve gobinsec cachce.

This commit is contained in:
Jakub
2022-10-06 17:05:04 +02:00
committed by Jakub Cuth
parent cd32f0ff6b
commit f9fe4e9c3d

View File

@ -17,8 +17,16 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>. # along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
cd $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/gobinsec_update cd "$(\
make run || FAILED=true cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd \
if [ $FAILED ]; then )"/gobinsec_update || exit 1
make run
fi for i in $(seq 10); do
echo "Trying $i"
if make run; then
echo "Try $i succeeded"
break
fi
echo "Waiting to try again..."
sleep 30
done