Browse files

replace system call with ruby method

  • Loading branch information...
1 parent 2a14131 commit 5500103d97e4132f437dfe5b34aa4e95558c9748 @NARKOZ NARKOZ committed Apr 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/rugged/extconf.rb
View
2 ext/rugged/extconf.rb
@@ -8,7 +8,7 @@ def sys(cmd)
ret
end
-if `which make`.strip.empty?
+unless find_executable('make')
STDERR.puts "ERROR: GNU make is required to build Rugged"
exit(1)
end

0 comments on commit 5500103

Please sign in to comment.