diff --git a/lib/manageiq/rpm_build/helper.rb b/lib/manageiq/rpm_build/helper.rb index 9f06529..51af9b0 100644 --- a/lib/manageiq/rpm_build/helper.rb +++ b/lib/manageiq/rpm_build/helper.rb @@ -7,7 +7,7 @@ def where_am_i def shell_cmd(cmd) puts "\n ---> #{cmd}".yellow.bold - exit($?.exitstatus || 1) unless system(env, cmd.to_s) + exit($?.exitstatus || 1) unless system(cmd.to_s) end end end