- 博客(3)
- 收藏
- 关注
转载 shell脚本报错:“[: =: unary operator expected”
shell脚本报错:“[: =: unary operator expected”在匹配字符串相等时,我用了类似这样的语句:if [ $STATUS == "OK" ]; then echo "OK"fi在运行时出现了 [: =: unary operator expected 的错误,就一直找不到原因,尝试了删除等号两侧的空格和括号里的空格都不管用,最后baidu了一下,才找到原因。把语句改成这样就不会出错了.if [[ $STATUS = "OK" ]]; then e
2022-04-13 15:21:53
959
原创 2021-08-20
编译遇到问题rk3568flex: not found。 sudo apt-get install flexfatal error: openssl/bio.h: No such file or directory sudo apt-get install libssl-devlz4c:not found
2021-08-20 10:15:21
88
原创 2021-07-03
Your configuration specifies to merge with the ref ‘refs/heads/feature-xxxxxx’from the remote, but no such ref was fetched.是由于没有创建feature-xxxxxx的分支,去创建一个分支就可以了。
2021-07-03 11:53:24
133
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人