File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -583,7 +583,8 @@ install_acceptance_bootstrap_hab_binary() {
583583 need_cmd gtar
584584 need_cmd gtail
585585
586- local hab_scratch_dir=" hab_scratch"
586+ local hab_scratch_dir
587+ hab_scratch_dir=" hab_scratch"
587588 rm -Rf " ${hab_scratch_dir} "
588589 mkdir " ${hab_scratch_dir} "
589590
@@ -592,7 +593,8 @@ install_acceptance_bootstrap_hab_binary() {
592593 --url https://bldr.acceptance.habitat.sh \
593594 --download-directory=" ${hab_scratch_dir} "
594595
595- local hab_artifact=$( find " ${hab_scratch_dir} " /artifacts -type f -name ' chef-hab-*-aarch64-darwin.hart' )
596+ local hab_artifact
597+ hab_artifact=$( find " ${hab_scratch_dir} " /artifacts -type f -name ' chef-hab-*-aarch64-darwin.hart' )
596598
597599 # GNU tail, tar, from the mac-bootstrapper
598600 gtail --lines=+6 " ${hab_artifact} " | \
@@ -602,7 +604,8 @@ install_acceptance_bootstrap_hab_binary() {
602604 --strip-components=8 \
603605 --wildcards " opt/hab/pkgs/chef/hab/*/*/bin"
604606
605- local bootstrap_hab_binary=" hab"
607+ local bootstrap_hab_binary
608+ bootstrap_hab_binary=" hab"
606609
607610 install -v " ${bootstrap_hab_binary} " /usr/local/bin/hab
608611
You can’t perform that action at this time.
0 commit comments