Skip to content

Commit

Permalink
Update ext/yarp/extconf.rb
Browse files Browse the repository at this point in the history
Avoid a subshell

Co-authored-by: Jean byroot Boussier <jean.boussier+github@shopify.com>
  • Loading branch information
flavorjones and casperisfine authored Jul 19, 2023
1 parent 2ee41cb commit 21fcaa4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/yarp/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ def build_target_rubyparser(target)
if !File.exist?("configure") && Dir.exist?(".git")
# this block only exists to support building the gem from a "git" source,
# normally we package up the configure and other files in the gem itself
Rake.sh("sh autoconf")
Rake.sh("sh autoheader")
Rake.sh("rake templates")
Rake.sh("sh", "autoconf")
Rake.sh("sh", "autoheader")
Rake.sh("rake","templates")
end
Rake.sh("sh configure")
Rake.sh("sh", "configure")
Rake.sh("make", target)
end
end
Expand Down

0 comments on commit 21fcaa4

Please sign in to comment.