rime / plum

東風破 /plum/: Rime configuration manager and input schema repository
GNU Lesser General Public License v3.0
1.39k stars 140 forks source link

Makefile: Fix bashism error on Debian/Ubuntu #12

Closed hosiet closed 6 years ago

hosiet commented 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.

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.

lotem commented 6 years ago

Looks good to me. Thanks for the pull request.