Fix faulty if statement formatting

This should make it so that macos builds compile like intended
This commit is contained in:
GabCoolGuy 2024-11-21 08:08:24 +01:00
parent 20644368af
commit 3a1c884bec
2 changed files with 5 additions and 7 deletions

View file

@ -21,11 +21,10 @@ CONFIGURATION=$7
EXTRA_ARGS=$8
CANARY=$9
# shellcheck disable=SC2107
if [ "$VERSION" == "1.1.0" && "$CANARY" == 1 ];
if [ "$VERSION" == "1.1.0" ] && [ "$CANARY" == 1 ];
then
RELEASE_TAR_FILE_NAME=ryujinx-canary-$CONFIGURATION-$VERSION+$SOURCE_REVISION_ID-macos_universal.app.tar
elif [ "$VERSION" == "1.1.0" && "$CANARY" == 0 ];
elif [ "$VERSION" == "1.1.0" ] && [ "$CANARY" == 0 ];
then
RELEASE_TAR_FILE_NAME=ryujinx-$CONFIGURATION-$VERSION+$SOURCE_REVISION_ID-macos_universal.app.tar
else

View file

@ -3,7 +3,7 @@
set -e
if [ "$#" -lt 7 ]; then
echo "usage <BASE_DIR> <TEMP_DIRECTORY> <OUTPUT_DIRECTORY> <ENTITLEMENTS_FILE_PATH> <VERSION> <SOURCE_REVISION_ID> <CONFIGURATION> <EXTRA_ARGS>"
echo "usage <BASE_DIR> <TEMP_DIRECTORY> <OUTPUT_DIRECTORY> <ENTITLEMENTS_FILE_PATH> <VERSION> <SOURCE_REVISION_ID> <CONFIGURATION> <EXTRA_ARGS> <CANARY>"
exit 1
fi
@ -21,11 +21,10 @@ CONFIGURATION=$7
EXTRA_ARGS=$8
CANARY=$9
# shellcheck disable=SC2107
if [ "$VERSION" == "1.1.0" && "$CANARY" == 1 ];
if [ "$VERSION" == "1.1.0" ] && [ "$CANARY" == 1 ];
then
RELEASE_TAR_FILE_NAME=ryujinx-canary-$CONFIGURATION-$VERSION+$SOURCE_REVISION_ID-macos_universal.app.tar
elif [ "$VERSION" == "1.1.0" && "$CANARY" == 0 ];
elif [ "$VERSION" == "1.1.0" ] && [ "$CANARY" == 0 ];
then
RELEASE_TAR_FILE_NAME=ryujinx-$CONFIGURATION-$VERSION+$SOURCE_REVISION_ID-macos_universal.app.tar
else