Skip to content

Conversation

@knopers8
Copy link
Collaborator

@knopers8 knopers8 commented Nov 3, 2025

'==' comparison operator is only supported by Bash, while '=' is supported by both Bash and standard POSIX shells.

'==' comparison operator is only supported by Bash, while '=' is supported by both Bash and standard POSIX shells.
@knopers8 knopers8 requested a review from justonedev1 as a code owner November 3, 2025 08:44
@knopers8
Copy link
Collaborator Author

knopers8 commented Nov 3, 2025

for the reference, this is what the error looks like:

$ make
-e go build -mod=vendor ./cmd/o2-aliecs-core  ==>  ./bin/o2-aliecs-core
/bin/sh: 1: [: o2-aliecs-core: unexpected operator
-e go build -mod=vendor ./cmd/o2-aliecs-executor  ==>  ./bin/o2-aliecs-executor
/bin/sh: 1: [: o2-aliecs-executor: unexpected operator
-e go build -mod=vendor ./cmd/coconut  ==>  ./bin/coconut
/bin/sh: 1: [: coconut: unexpected operator
-e go build -mod=vendor ./cmd/peanut  ==>  ./bin/peanut
/bin/sh: 1: [: peanut: unexpected operator
-e go build -mod=vendor ./cmd/o2-apricot  ==>  ./bin/o2-apricot
/bin/sh: 1: [: o2-apricot: unexpected operator

the build succeeds anyway, but the errors are confusing.

@knopers8 knopers8 merged commit 6a97d97 into AliceO2Group:master Nov 3, 2025
3 checks passed
@knopers8 knopers8 deleted the fix-unexpected-operator branch November 3, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant