80,351
社区成员
发帖
与我相关
我的任务
分享
#!/bin/bash
repo init -u git://git.android-x86.org/manifest.git -b eclair-x86
while [ $? = 1 ]; do
date
echo "======init error======"
sleep 2
repo init -u git://git.android-x86.org/manifest.git -b eclair-x86
done
echo "======start repo sync======"
repo sync
while [ $? = 1 ]; do
date
echo "======sync failed, re-sync again======"
sleep 3
repo sync
done