用git 下载android x86出错(syntax error near unexpected token `newline',`

早上用ubuntu下载android x86一直报一个错误

root@ubuntu:~# repo init -u git://android-x86.git.sf.net/gitroot/android-x86/x86/platform/manifest.git -b gingerbread-x86
/usr/local/bin/repo: line 1: syntax error near unexpected token `newline'
/usr/local/bin/repo: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

这里只需要先执行一个命令  PATH=~/bin:$PATH

然后再执行

git://android-x86.git.sf.net/gitroot/android-x86/x86/platform/manifest.git -b gingerbread-x86
就OK了

你可能感兴趣的:(html,android,git,ubuntu,Path,newline)