2
./build_binaries.sh: line 43: [: ==: unary operator expected
比較字符串我有我的bash script
看起來正確的我這一行(line 43
),但它不斷拋出的錯誤。在bash腳本
if [ ${platform} == "macosx" ]; then
錯誤:
./foo.sh: line 43: [: ==: unary operator expected
這是OSX。