bin/appbundle-updater in appbundle-updater-0.6.17 vs bin/appbundle-updater in appbundle-updater-0.6.18
- old
+ new
@@ -54,9 +54,11 @@
ENV["PATH"] = bin_dir.to_s + File::PATH_SEPARATOR + ENV["_YOLO_PATH"]
puts " running: #{cmd}"
output = `#{cmd} 2>&1` # FIXME: bash/zsh-ism, will not work on csh
unless $?.exited? && $?.exitstatus == 0
raise("Command [#{cmd}] failed!\n\n---BEGIN OUTPUT--\n#{output}\n---END OUTPUT--\n")
+ else
+ puts "---BEGIN OUTPUT--\n#{output}\n---END OUTPUT--\n"
end
ENV_KEYS.each { |key| ENV[key] = ENV.delete("_YOLO_#{key}") }
end