Error:Syntax error: redirection unexpected

在安裝Android NKD後執行make-standalone-toolchain.sh時出現錯誤「make-standalone-toolchain.sh: 701: ./make-standalone-toolchain.sh: Syntax error: redirection unexpected」,同時執行時出現警告「WARNING: The shell running this script isn't bash. Although we try to avoid bashism in scripts, things can happen.」shell

打開腳本701行bash

for ABI in $(tr ',' ' ' <<< $ABIS); do

 

經查,應爲"<<<"的問題。在執行時解釋器指定爲bash,則無錯誤。app

相關文章
相關標籤/搜索