We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94a5eeb commit d9504b6Copy full SHA for d9504b6
install.sh
@@ -78,7 +78,7 @@ checkLatestVersion() {
78
elif [ "$DOWNLOAD_TOOL" = "wget" ]; then
79
tag=$(wget -q -O - $latest_url | grep -o "Release $regex · arduino/arduino-cli" | grep -o "$regex")
80
fi
81
- if [ "x$tag" == "x" ]; then
+ if [ "x$tag" = "x" ]; then
82
echo "Cannot determine latest tag."
83
exit 1
84
@@ -122,7 +122,7 @@ downloadFile() {
122
checkLatestVersion TAG
123
echo "TAG=$TAG"
124
# arduino-cli_0.4.0-rc1_Linux_64bit.[tar.gz, zip]
125
- if [ "$OS" == "Windows" ]; then
+ if [ "$OS" = "Windows" ]; then
126
CLI_DIST="arduino-cli_${TAG}_${OS}_${ARCH}.zip"
127
else
128
CLI_DIST="arduino-cli_${TAG}_${OS}_${ARCH}.tar.gz"
0 commit comments