forked from Silverfish/proton-bridge
Other: improve gobinsec cachce.
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user