mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Do not display an error when gmake is not present
This commit is contained in:
parent
b070cb1dd3
commit
b8879a01b7
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ module Libv8
|
||||||
|
|
||||||
def make
|
def make
|
||||||
unless defined?(@make)
|
unless defined?(@make)
|
||||||
@make = `which gmake`.chomp
|
@make = `which gmake 2> /dev/null`.chomp
|
||||||
@make = `which make`.chomp unless $?.success?
|
@make = `which make`.chomp unless $?.success?
|
||||||
end
|
end
|
||||||
@make
|
@make
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue