root@ubuntu:/home/tim# curl >./bin/repo
root@ubuntu:/home/tim# curl >./bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:21 --:--:-- 0curl: (7) couldn't connect to host
解决方法如下:
1. curl "" >./bin/repo
chmod a+x ~/bin/repo
PATH=~/bin:$PATH
mkdir work_space
cd work_space
repo init -u git://codeaurora.org/platform/manifest.git -b gingerbread
repo sync
阅读(3251) | 评论(0) | 转发(0) |