Skip to content

Commit

Permalink
Setting default for CARCH for github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamingRaven committed Sep 23, 2023
1 parent 732dc51 commit faff783
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kubectl-bin/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ provides=('kubectl')
source=()
b2sums=('becf49747002fa77c005d7660e2c104edd6048c1bf486cf6c1a01b13412d7c0ed1b66c18bf9d9f970883de79a858d8558c66b170903abb904dffd8c5be06d9fb')

# if CARCH is not set default to x86_64
# https://stackoverflow.com/a/11362364/11164973
: "${CARCH:=x86_64}"

case "$CARCH" in
x86_64) _pkgarch="amd64"
;;
Expand Down

0 comments on commit faff783

Please sign in to comment.