sh complains about double square brackets
When running scripts/local/build, I get the following output (snippet):
scripts/local/build: 25: scripts/local/build: [[: not found
Research shows that double brackets are non-posix compliant, which is the reason sh rejects this syntax.
Now, we can either rewrite the build script to use single brackets, or change the interpreter to something like bash which knows double brackets.
Edited by Ben Fiedler