mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-07 02:41:53 +00:00
* packaging: [[ ]] tests, named positional parameters and explicit returns (SonarCloud S7688, S7679, S7682) Every packaging script is bash (macOS ships bash 3.2, which has [[ ]]), so the single-bracket tests become [[ ]]: no word splitting or globbing of unquoted operands. Every right-hand side of = is quoted or a plain literal, so no test turns into a pattern match. Functions that read positional parameters copy them into named locals, and the env.sh helpers end with a bare return, which keeps the last command's status. * fix: use POSIX test in generated /bin/sh helper