From b350f359838ee3b41de2064890212901a5b20980 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 10 May 2020 10:39:33 +0200 Subject: [PATCH] unexpected EOF due to a missing parenthese --- bin/b2-ul_me | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/b2-ul_me b/bin/b2-ul_me index 74904d4..65851a6 100644 --- a/bin/b2-ul_me +++ b/bin/b2-ul_me @@ -8,7 +8,7 @@ B2_KEY_ID=${3} B2_KEY=${4} SHA1_OF_FILE=$(openssl dgst -sha1 $FILE_TO_UPLOAD | awk '{print $2;}') -b2_authorize_account=$(curl -s 'https://api.backblazeb2.com/b2api/v2/b2_authorize_account' -u "$B2_KEY_ID:$B2_KEY" +b2_authorize_account=$(curl -s 'https://api.backblazeb2.com/b2api/v2/b2_authorize_account' -u "$B2_KEY_ID:$B2_KEY") apiUrl=$(echo $b2_authorize_account | python -c "import sys, json; print (json.load(sys.stdin)['apiUrl'])") B2_TOKEN=$(echo $b2_authorize_account | python -c "import sys, json; print (json.load(sys.stdin)['authorizationToken'])") B2_BUCKET_ID=$(echo $b2_authorize_account | python -c "import sys, json; print (json.load(sys.stdin)['bucketId'])")