pr-pull, pr-upload: use safe_system to call brew
This commit is contained in:
parent
7360d14f5c
commit
21c903c133
@ -260,7 +260,7 @@ module Homebrew
|
||||
upload_args << "--dry-run" if args.dry_run?
|
||||
upload_args << "--root_url=#{args.root_url}" if args.root_url
|
||||
upload_args << "--bintray-org=#{bintray_org}"
|
||||
system HOMEBREW_BREW_FILE, *upload_args
|
||||
safe_system HOMEBREW_BREW_FILE, *upload_args
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@ -42,7 +42,7 @@ module Homebrew
|
||||
if args.dry_run?
|
||||
puts "brew #{bottle_args.join " "}"
|
||||
else
|
||||
system HOMEBREW_BREW_FILE, *bottle_args
|
||||
safe_system HOMEBREW_BREW_FILE, *bottle_args
|
||||
end
|
||||
|
||||
if args.dry_run?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user