Skip to content

Commit

Permalink
Merge pull request #2 from get-bridge/dev/craun/fix-install-script
Browse files Browse the repository at this point in the history
Fix install.sh
  • Loading branch information
Corban Raun committed Sep 13, 2021
2 parents 1dda1cd + e1aabbb commit 0d3b27c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ terraform_plugins="$HOME/.terraform.d/plugins/${kernel_lower}_$ARCH/"
IFS= manifest=$(curl -s https://api.github.com/repos/get-bridge/terraform-provider-spinnaker/releases/latest)

url=$(echo $manifest \
| grep "browser_download_url.*${kernel}_${arch}" \
| grep "browser_download_url.*${kernel_lower}_${ARCH}" \
| cut -d '"' -f 4 \
)
version=$(echo $manifest \
Expand All @@ -36,7 +36,7 @@ version=$(echo $manifest \
)

if [ -z ${url} ]; then
echo "no build for this kernel/arch: ${kernel}_${arch}"
echo "no build for this kernel/arch: ${kernel_lower}_${ARCH}"
exit 1
fi

Expand Down

0 comments on commit 0d3b27c

Please sign in to comment.