@@ -52,13 +52,13 @@ export HAB_FEAT_MACOS_NATIVE_SUPPORT=1
5252
5353# Install hab-studio for native studio tests
5454echo " --- Installing chef/hab-studio from ${HAB_BLDR_URL} , aarch64-darwin-opt channel"
55- sudo -E " $hab_path " pkg install chef/hab-studio \
55+ sudo -E " $hab_binary " pkg install chef/hab-studio \
5656 --channel=" aarch64-darwin-opt" \
5757 --url=" ${HAB_BLDR_URL} "
5858
5959# hab-backline is required by the studio but is only available in stable
6060echo " --- Installing chef/hab-backline from ${HAB_BLDR_URL} , aarch64-darwin-opt channel"
61- sudo -E " $hab_path " pkg install chef/hab-backline \
61+ sudo -E " $hab_binary " pkg install chef/hab-backline \
6262 --channel=" stable" \
6363 --url=" ${HAB_BLDR_URL} "
6464export HAB_STUDIO_BACKLINE_PKG
@@ -72,7 +72,7 @@ export HAB_INTERPRETER_IDENT="core/coreutils"
7272
7373echo " --- Installing latest core/powershell from ${HAB_BLDR_URL} , aarch64-darwin-opt channel"
7474# Try the hab package first, fall back to Homebrew
75- if sudo -E " $hab_path " pkg install core/powershell \
75+ if sudo -E " $hab_binary " pkg install core/powershell \
7676 --binlink \
7777 --binlink-dir=" /usr/local/bin" \
7878 --force \
@@ -99,7 +99,7 @@ pwsh_path="$(command -v pwsh)"
9999
100100echo " --- Installing latest core/pester from ${HAB_BLDR_URL} , aarch64-darwin-opt channel"
101101# Try the hab package first, fall back to PowerShell module
102- if ! sudo -E " $hab_path " pkg install core/pester \
102+ if ! sudo -E " $hab_binary " pkg install core/pester \
103103 --channel=" aarch64-darwin-opt" \
104104 --url=" ${HAB_BLDR_URL} " ; then
105105 echo " --- core/pester not available for this platform, installing via PowerShell module"
0 commit comments