Browse Source
[cmake, tools] fix script compliance
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/348/head
crueter
6 months ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
8 additions and
0 deletions
-
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") |
|
|
|
|