google了一把,用cygwin下载android源码,速度还行,至少比我win7里安装个ubuntu下载来的快!但是不好的就是老断,整个自动重连的sh比较合适:
#!/bin/bash
echo "======start repo sync======"
python ./bin/repo sync
while [ $? = 1 ]; do
echo "======sync failed, re-sync again======"
sleep 3
python ./bin/repo sync
done
echo "======sync failed, re-sync again======"
sleep 3
python ./bin/repo sync
done
没有评论:
发表评论