From abc6eb989efb7d4fd9a6a181803eab3c7d2cf870 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Fri, 14 Oct 2022 12:38:08 -0500 Subject: [PATCH] Fixed logging bug --- build_revanced.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_revanced.sh b/build_revanced.sh index 459ea95..7da807c 100755 --- a/build_revanced.sh +++ b/build_revanced.sh @@ -100,7 +100,7 @@ for artifact in $artifacts; do repo=$(echo $artifact | cut -d '_' -f1) name=$(echo $artifact | cut -d '_' -f2) basename=$(echo $name | cut -d '.' -f1) - echo "Checking $basename" | tee build.log + echo "Checking $basename" | tee -a build.log version_present=$(jq -r ".\"$basename\"" versions.json) data=$(jq -r ".tools[] | select((.repository == \"$repo\") and (.content_type | contains(\"archive\")))" latest_versions.json) version=$(echo "$data" | jq -r '.version')