-bash: $'\r': command not found 
-bash: $'\r': command not found 
-bash: $'\r': command not found 
-bash: $'\r': command not found 
-bash: $'\r': command not found 
-bash: /home/dev/.bash_profile: line 39: syntax error: unexpected end of file

又要重新灌cygwin= =有夠囧
更新2012/03/18
其實不用重灌cygwin
這個問題是因為編輯器wordpad的關係
換行會變成\n\r,多了個\r
所以開啟cygwin終端會出現錯誤,環境變數NDK也會設置錯誤
我的解決辦法是先用wordpad修改.bash_profile
然後在用dos2unix命令轉檔
dos2unix -n .bash_profile .bash_profile
即可
 

arrow
arrow
    全站熱搜

    glitterHsin 發表在 痞客邦 留言(0) 人氣()