Skip to content

Commit 8ceb09e

Browse files
committed
Fix cmake architecture check
Signed-off-by: Henry Le Berre <[email protected]>
1 parent 43e6b6c commit 8ceb09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mfc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ if [ "$bShouldInstallCMake" = true ]; then
113113
bErrorDoSelfDownload=true
114114
fi
115115

116-
if ! [[ "$arch" -eq "x86_64" || "$arch" -eq "aarch64" ]]; then
116+
if ! [[ "$arch" == "x86_64" || "$arch" == "aarch64" ]]; then
117117
error "Cannot fetch$MAGENTA CMake$COLOR_RESET for architecture $MAGENTA$arch$COLOR_RESET."
118118
bErrorDoSelfDownload=true
119119
fi

0 commit comments

Comments
 (0)