#!/bin/sh
echo "======start repo sync======"
repo sync
while [ $? -ne 0 ]
do
echo "======sync failed, re-sync again======"
sleep 3
repo sync
done
#!/bin/sh
echo "======start repo sync======"
repo sync
while [ $? -ne 0 ]
do
echo "======sync failed, re-sync again======"
sleep 3
repo sync
done