#!/bin/shecho "======start repo sync======"repo syncwhile [ $? -ne 0 ]doecho "======sync failed, re-sync again======"sleep 3repo syncdone