On 07/09/21 13:08, Alexander Bulekov wrote:
-if [ "$GITLAB_CI" != "true" ]; then+if [ -z ${GITLAB_CI+x} ]; then
I would slightly prefer to have "${GITLAB_CI+x}", since "test" in general doesn't like parameters that go away:
$ [ = abc ] bash: [: =: unary operator expected What you wrote however works, so it's okay. Thanks, Paolo