Skip to content

Commit

Permalink
Plan file updates
Browse files Browse the repository at this point in the history
Signed-off-by: Ashique Saidalavi <[email protected]>
  • Loading branch information
ashiqueps committed Nov 13, 2024
1 parent 0a8b962 commit c980e2f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions habitat/plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ do_build() {
bundle install
ruby ./post-bundle-install.rb
gem build chef-test-kitchen-enterprise.gemspec
gem install chef-cli
}

do_install() {
Expand All @@ -58,7 +57,7 @@ do_install() {
gem install chef-test-kitchen-enterprise-*.gem --no-document
gem install chef-cli
wrap_ruby_kitchen
wrap_ruby_chef_cli_bin
wrap_ruby_chef_cli
set_runtime_env "GEM_PATH" "${pkg_prefix}/vendor/gems"
}

Expand All @@ -68,7 +67,7 @@ wrap_ruby_kitchen() {
wrap_bin_with_ruby "$bin" "$real_bin"
}

wrap_ruby_chef_cli_bin() {
wrap_ruby_chef_cli() {
local bin="$pkg_prefix/bin/chef-cli"
local real_bin="$GEM_HOME/bin/chef-cli"
wrap_bin_with_ruby "$bin" "$real_bin"
Expand Down Expand Up @@ -96,4 +95,4 @@ EOF

do_strip() {
return 0
}
}

0 comments on commit c980e2f

Please sign in to comment.