We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f6ce61 commit ed5d9c5Copy full SHA for ed5d9c5
func/upgrade.sh
@@ -552,7 +552,7 @@ upgrade_b2_tool(){
552
b2cli="/usr/local/bin/b2"
553
b2lnk="https://github.com/Backblaze/B2_Command_Line_Tool/releases/download/v$b2_v/b2-linux"
554
if [ -f "$b2cli" ]; then
555
- b2_version=$(b2 version | grep -o -E '[0-9].[0-9].[0-9]+' | head -1);
+ b2_version=$($b2cli version | grep -o -E '[0-9].[0-9].[0-9]+' | head -1);
556
if version_ge "$b2_version" "$b2_v"; then
557
echo "[ * ] Backblaze CLI tool is up to date ($b2_v)..."
558
else
0 commit comments