bb6c14cdfd0b7d543d0d9c2e5f0c0a9409a82084
- Author
- Brian Wright <4408242+PennRobotics@users.noreply.github.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix(updater): correct spelling of `curl` flag (#11072)
Diff
1diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
2index 009c273faee436832c0e638c7881c7f1a08c78d4..cc527e72dcac8c61398a20e589f0f62ecfcd9ee2 100644
3--- a/tools/check_for_upgrade.sh
4+++ b/tools/check_for_upgrade.sh
5@@ -65,7 +65,7 @@ function is_update_available() {
6 local remote_head
7 remote_head=$(
8 if (( ${+commands[curl]} )); then
9- curl --conect-timeout 2 -fsSL -H 'Accept: application/vnd.github.v3.sha' $api_url 2>/dev/null
10+ curl --connect-timeout 2 -fsSL -H 'Accept: application/vnd.github.v3.sha' $api_url 2>/dev/null
11 elif (( ${+commands[wget]} )); then
12 wget -T 2 -O- --header='Accept: application/vnd.github.v3.sha' $api_url 2>/dev/null
13 elif (( ${+commands[fetch]} )); then