Skip to content

Commit 498891b

Browse files
Merge pull request #9928 from habitat-sh/jah/install-sh-hygeine
Fixes typo whitespace in install.sh
2 parents 23757dd + 4f24445 commit 498891b

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

components/hab/install.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ main() {
296296
bldrUrl="${OPTARG}"
297297
;;
298298
b)
299-
bldlChannel="${OPTARG}" # for temporary use
299+
bldrChannel="${OPTARG}" # for temporary use
300300
;;
301301
o)
302302
origin="${OPTARG}"
@@ -329,26 +329,26 @@ print_help() {
329329
_cmd="$(basename "${0}")"
330330
cat <<-HEREDOC
331331
${_cmd}
332-
332+
333333
Authors: The Habitat Maintainers <humans@habitat.sh>
334-
334+
335335
Installs the Habitat 'hab' program.
336-
336+
337337
USAGE:
338338
${_cmd} [FLAGS]
339-
339+
340340
FLAGS:
341341
-c Specifies a channel [values: stable, unstable] [default: stable]
342342
-h Prints help information
343343
-v Specifies a version (ex: 0.15.0, 0.15.0/20161222215311)
344344
-t Specifies the ActiveTarget of the 'hab' program to download.
345345
[values: x86_64-linux, aarch64-linux] [default: x86_64-linux]
346346
This option is only valid on Linux platforms
347-
347+
348348
ENVIRONMENT VARIABLES:
349349
SSL_CERT_FILE allows you to verify against a custom cert such as one
350350
generated from a corporate firewall
351-
351+
352352
HEREDOC
353353
}
354354

@@ -425,7 +425,7 @@ validate_target() {
425425
valid_targets+=("x86_64-linux-kernel2")
426426
;;
427427
esac
428-
428+
429429
if ! (_array_contains "${target}" "${valid_targets[@]}"); then
430430
local _vts
431431
printf -v _vts "%s, " "${valid_targets[@]}"
@@ -537,7 +537,7 @@ install_hab() {
537537
fi
538538
# The Habitat packages for macOS (aarch64) are not currently available in the SaaS Builder.
539539
# This is a temporary fix until they become available.
540-
_channel="${bldlChannel:-$channel}"
540+
_channel="${bldrChannel:-$channel}"
541541
"${archive_dir}/hab" pkg install --binlink --force --channel "$_channel" "$_ident" ${bldrUrl:+-u "$bldrUrl"}
542542
;;
543543
*)

0 commit comments

Comments
 (0)