[PATCH v2 26/49] bash scripts: replace '[ ]' with '[[ ]]' for bash scripts