mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-24 10:46:54 +01:00
Fix faulty if statement formatting
This should make it so that macos builds compile like intended
This commit is contained in:
parent
20644368af
commit
3a1c884bec
2 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue