fix boost patch, clang-cl fetch > json
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
b42d12ef6b
commit
7aa1efca34
6 changed files with 57 additions and 67 deletions
|
@ -59,7 +59,7 @@ download_package() {
|
|||
if grep -e "patches" <<< "$JSON" > /dev/null; then
|
||||
PATCHES=$(jq -r '.patches | join(" ")' <<< "$JSON")
|
||||
for patch in $PATCHES; do
|
||||
patch -p1 < "$ROOTDIR"/.patch/$package/$patch
|
||||
patch --binary -p1 < "$ROOTDIR"/.patch/$package/$patch
|
||||
done
|
||||
fi
|
||||
|
||||
|
@ -173,7 +173,7 @@ do
|
|||
# key parsing
|
||||
KEY=$(jq -r ".key" <<< "$JSON")
|
||||
|
||||
if [ "$KEY" == null ]; then
|
||||
if [ "$KEY" == null ]; then
|
||||
if [ "$SHA" != null ]; then
|
||||
KEY=$(cut -c1-4 - <<< "$SHA")
|
||||
elif [ "$GIT_VERSION" != null ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue