Skip to content

Commit 5860491

Browse files
Apply suggestion from code review
Co-authored-by: Michael Jabbour <117195239+michael-jabbour-sonarsource@users.noreply.github.com>
1 parent 40fa885 commit 5860491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/configure_paths.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
if [[ ${ARCH} != "X64" && ! ( (${OS} == "macOS" && ${ARCH} == "ARM64") || (${OS} == "Linux" && ${ARCH} == "ARM64") ) ]]; then
3+
if [[ ${ARCH} != "X64" && ! (${ARCH} == "ARM64" && (${OS} == "macOS" || ${OS} == "Linux")) ]]; then
44
echo "::error::Architecture '${ARCH}' is unsupported by build-wrapper"
55
exit 1
66
fi

0 commit comments

Comments
 (0)