mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Fix PATH for Habitat execution
plan.sh was expanding $PATH at build time when writing out the inspec bin script. This is incorrect, the variable should be expanded at runtime. Signed-off-by: James Stocks <jstocks@chef.io>
This commit is contained in:
parent
08bc5edfaf
commit
230ca2ba03
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ wrap_inspec_bin() {
|
|||
set -e
|
||||
|
||||
# Set binary path that allows InSpec to use non-Hab pkg binaries
|
||||
export PATH="/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:$PATH"
|
||||
export PATH="/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:\$PATH"
|
||||
|
||||
# Set Ruby paths defined from 'do_setup_environment()'
|
||||
export GEM_HOME="$GEM_HOME"
|
||||
|
|
Loading…
Reference in a new issue