Closed hosiet closed 6 years ago
Hello, I am trying to solve the problem of Rime ecosystem on Debian when I run into a problem of bashism in plum/Makefile.
plum/Makefile
Shell snippets in Makefile is using [[ ]] grammar, which is a bash extension and is not supported by standard (POSIX) /bin/sh.
[[ ]]
/bin/sh
This commit would use [ ] instead of [[ ]] to fix the problem where /bin/sh is not bash, which is typical for all Debian and Ubuntu derivatives.
[ ]
Looks good to me. Thanks for the pull request.
Hello, I am trying to solve the problem of Rime ecosystem on Debian when I run into a problem of bashism in
plum/Makefile
.Shell snippets in Makefile is using
[[ ]]
grammar, which is a bash extension and is not supported by standard (POSIX)/bin/sh
.This commit would use
[ ]
instead of[[ ]]
to fix the problem where/bin/sh
is not bash, which is typical for all Debian and Ubuntu derivatives.