~/bin/repo: line 1: syntax error near unexpected token `newline'
~/bin/repo: line 1: `<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
出现上面的问题,解决方法:
cp -f /android srouce目录/repo/repo/repo ~/bin/
或者网上的说法,重新下载一个repo。