summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram Karve <vikram.karve@progress.com>2023-03-15 18:23:00 +0530
committerVikram Karve <vikram.karve@progress.com>2023-03-15 18:23:00 +0530
commit06ff9abb3ea69f63d30ca7e0b1fd947c575cbd1f (patch)
tree5c748659410730503ba2879126ec7dc0425cfa14
parentc33768e942112e7ef38911aaa1b27afddb9b857e (diff)
downloadchef-06ff9abb3ea69f63d30ca7e0b1fd947c575cbd1f.tar.gz
attempt at capturing exit code
Signed-off-by: Vikram Karve <vikram.karve@progress.com>
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 1026cf91dc..ec27b02cd2 100644
--- a/Rakefile
+++ b/Rakefile
@@ -40,7 +40,7 @@ namespace :pre_install do
%w{chef-utils chef-config}.each do |gem|
path = ::File.join(::File.dirname(__FILE__), gem)
Dir.chdir(path) do
- sh("rake install")
+ system "rake install"
end
end
end
@@ -70,7 +70,7 @@ Bundler::GemHelper.install_tasks name: gemspec
task :install do
chef_bin_path = ::File.join(::File.dirname(__FILE__), "chef-bin")
Dir.chdir(chef_bin_path) do
- sh("rake install:force")
+ system "rake install:force"
end
end
@@ -80,7 +80,7 @@ namespace :install do
task :local do
chef_bin_path = ::File.join(::File.dirname(__FILE__), "chef-bin")
Dir.chdir(chef_bin_path) do
- sh("rake install:local")
+ system "rake install:local"
end
end
end