diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-07-01 12:23:44 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-07-01 12:23:44 -0700 |
commit | 7c1de77226593b6d0d9febad766df82da7a24923 (patch) | |
tree | 7e64f6e3bc67edcf89dafe4a6f5c1d6f29c4d947 | |
parent | 93cb2accdb53a48981527c576d44604ffaee8f64 (diff) | |
download | chef-7c1de77226593b6d0d9febad766df82da7a24923.tar.gz |
Use bash not execute in build_essential for better output
This avoids a giant output in logs that includes our comments
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/build_essential.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/build_essential.rb b/lib/chef/resource/build_essential.rb index c83517fdfe..ad37d3924f 100644 --- a/lib/chef/resource/build_essential.rb +++ b/lib/chef/resource/build_essential.rb @@ -146,8 +146,8 @@ class Chef def install_xcode_cli_tools(label) # This script was graciously borrowed and modified from Tim Sutton's # osx-vm-templates at https://github.com/timsutton/osx-vm-templates/blob/b001475df54a9808d3d56d06e71b8fa3001fff42/scripts/xcode-cli-tools.sh - execute "install Xcode Command Line tools" do - command <<-EOH + bash "install Xcode Command Line Tools" do + code <<-EOH # create the placeholder file that's checked by CLI updates' .dist code # in Apple's SUS catalog touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress |