Method: #sys

Defined in:
ext/rugged/extconf.rb

#sys(cmd) ⇒ Object

[View source]

23
24
25
26
27
28
29
# File 'ext/rugged/extconf.rb', line 23

def sys(cmd)
  puts " -- #{cmd}"
  unless ret = xsystem(cmd)
    raise "ERROR: '#{cmd}' failed"
  end
  ret
end