Merge pull request #1120 from wilson/master

Quote JRuby check on FreeBSD to avoid "unary operator" syntax issue.
This commit is contained in:
SHIBATA Hiroshi 2017-09-07 17:18:59 +09:00 committed by GitHub
commit 9c1ea6ffcd

View file

@ -1281,7 +1281,7 @@ fi
if [ -z "$MAKE" ]; then
if [ "FreeBSD" = "$(uname -s)" ]; then
if [ $(echo $1 | sed 's/-.*$//') = "jruby" ]; then
if [ "$(echo $1 | sed 's/-.*$//')" = "jruby" ]; then
export MAKE="gmake"
else
if [ "$(uname -r | sed 's/[^[:digit:]].*//')" -lt 10 ]; then