WIP: Fix shell scripts lint warnings
I run Shellcheck on our scripts and found a lot of things.
I fixed here only the ones I'm pretty confident won't break current behavior.
Next question is: do we force to run it as a linter and enforce some of the rules at CI time?
Depends on !1975 (merged)
Edited by Mehdi Bouaziz