博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Error:Syntax error: redirection unexpected
阅读量:4609 次
发布时间:2019-06-09

本文共 414 字,大约阅读时间需要 1 分钟。

在安装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.”

打开脚本701行

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

 

经查,应为"<<<"的问题。在执行时解释器指定为bash,则无错误。

转载于:https://www.cnblogs.com/Pan-Z/p/10248154.html

你可能感兴趣的文章
微信网页登录样式调整
查看>>
58同城2018提前批前端笔试题总结
查看>>
compilation与编译
查看>>
破解Linux系统开机密码
查看>>
循环、异常捕获
查看>>
useradd mfs -s /sbin/nologin -M
查看>>
mysql数据库:数据类型、存储引擎、约束、
查看>>
LeetCode-Find the Celebrity
查看>>
LeetCode-Longest Increasing Subsequence
查看>>
LeetCode-Reverse Bits
查看>>
zynq如何查看当前网速
查看>>
vue+element-ui实现表格checkbox单选
查看>>
Optaplanner规划引擎的工作原理及简单示例(1)
查看>>
VR快速发展下,从业者如何把握机会?
查看>>
基类类型和派生类型之间的转换以及虚函数
查看>>
linux公司常用基础命令必知必会
查看>>
信息增益
查看>>
jauery加入项目中,但是在页面中显示没有找到这个文件--springMVC框架
查看>>
Oracle——PL/SQL 语句
查看>>
java nio
查看>>