#!/bin/bash
echo "================start repo sync===================="
repo sync -j5
while [ $? = ]; do
echo "====================sync failed, re-sync again======="
sleep
repo sync -j5
done
#!/bin/bash
echo "================start repo sync===================="
repo sync -j5
while [ $? = ]; do
echo "====================sync failed, re-sync again======="
sleep
repo sync -j5
done