class AllImages::App

def sh(*a)

def sh(*a)
  if $DEBUG
    STDERR.puts "Executing #{a.inspect}."
  end
  system(*a)
  if $?.success?
    true
  else
    raise "Command #{Shellwords.join(a).inspect} failed with: #{$?.exitstatus}"
  end
end