File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ require_relative "templates/template"
1010desc "Generate all ERB template based files"
1111task templates : Prism ::Template ::TEMPLATES
1212
13- make = RUBY_PLATFORM . include? ( " openbsd" ) ? "gmake" : "make"
13+ make = RUBY_PLATFORM . match? ( / openbsd|freebsd/ ) ? "gmake" : "make"
1414task ( make : :templates ) { sh ( make ) }
1515task ( make_no_debug : :templates ) { sh ( "#{ make } all-no-debug" ) }
1616task ( make_minimal : :templates ) { sh ( "#{ make } minimal" ) }
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def make(env, target)
5050 Dir . chdir ( File . expand_path ( "../.." , __dir__ ) ) do
5151 system (
5252 env ,
53- RUBY_PLATFORM . include? ( " openbsd" ) ? "gmake" : "make" ,
53+ RUBY_PLATFORM . match? ( / openbsd|freebsd/ ) ? "gmake" : "make" ,
5454 target ,
5555 exception : true
5656 )
You can’t perform that action at this time.
0 commit comments