forked from bluerobotics/BlueOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NO_UPSRTEAM: update bridges manually
- Loading branch information
1 parent
134bd28
commit 3f20269
Showing
3 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Immediately exit on errors | ||
set -e | ||
# # Immediately exit on errors | ||
# set -e | ||
|
||
LOCAL_BINARY_PATH="/usr/bin/bridges" | ||
VERSION=0.9.0 | ||
# LOCAL_BINARY_PATH="/usr/bin/bridges" | ||
# VERSION=0.9.0 | ||
|
||
# By default we install armv7 | ||
REMOTE_BINARY_URL="https://github.com/patrickelectric/bridges/releases/download/${VERSION}/bridges-armv7-unknown-linux-musleabihf" | ||
if [[ "$(uname -m)" == "x86_64"* ]]; then | ||
REMOTE_BINARY_URL="https://github.com/patrickelectric/bridges/releases/download/${VERSION}/bridges-x86_64-unknown-linux-musl" | ||
fi | ||
# # By default we install armv7 | ||
# REMOTE_BINARY_URL="https://github.com/patrickelectric/bridges/releases/download/${VERSION}/bridges-armv7-unknown-linux-musleabihf" | ||
# if [[ "$(uname -m)" == "x86_64"* ]]; then | ||
# REMOTE_BINARY_URL="https://github.com/patrickelectric/bridges/releases/download/${VERSION}/bridges-x86_64-unknown-linux-musl" | ||
# fi | ||
|
||
wget "$REMOTE_BINARY_URL" -O "$LOCAL_BINARY_PATH" | ||
chmod +x "$LOCAL_BINARY_PATH" | ||
# wget "$REMOTE_BINARY_URL" -O "$LOCAL_BINARY_PATH" | ||
# chmod +x "$LOCAL_BINARY_PATH" |
Binary file not shown.