Browse Source

[cmake, tools] fix script compliance

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/348/head
crueter 6 months ago
parent
commit
d16f1712b4
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 8
      tools/cpm-fetch.sh

8
tools/cpm-fetch.sh

@ -118,6 +118,14 @@ do
continue
fi
VERSION=$(jq -r ".version" <<< "$JSON")
GIT_VERSION=$(jq -r ".git_version" <<< "$JSON")
TAG=$(jq -r ".tag" <<< "$JSON")
SHA=$(jq -r ".sha" <<< "$JSON")
[ "$GIT_VERSION" == null ] && GIT_VERSION="$VERSION"
[ "$GIT_VERSION" == null ] && GIT_VERSION="$TAG"
# url parsing WOOOHOOHOHOOHOHOH
URL=$(jq -r ".url" <<< "$JSON")
REPO=$(jq -r ".repo" <<< "$JSON")

Loading…
Cancel
Save