Skip to content

Commit ae09d4b

Browse files
Fixed shellcheck errors
Signed-off-by: Abhijit Gadgil <agadgil@progress.com>
1 parent abf63b0 commit ae09d4b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.expeditor/scripts/end_to_end/setup_environment_darwin.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ export HAB_FEAT_MACOS_NATIVE_SUPPORT=1
5252

5353
# Install hab-studio for native studio tests
5454
echo "--- 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
6060
echo "--- 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}"
6464
export HAB_STUDIO_BACKLINE_PKG
@@ -72,7 +72,7 @@ export HAB_INTERPRETER_IDENT="core/coreutils"
7272

7373
echo "--- 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

100100
echo "--- 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

Comments
 (0)