diff --git a/script/binary b/script/binary index fde68641e..40bf4f941 100755 --- a/script/binary +++ b/script/binary @@ -26,7 +26,8 @@ if [ -z "$DATE" ]; then fi # Build binaries -CGO_ENABLED=0 GOGC=off go build "${FLAGS[@]}" -ldflags "-s -w \ +# shellcheck disable=SC2086 +CGO_ENABLED=0 GOGC=off go build ${FLAGS[*]} -ldflags "-s -w \ -X github.com/containous/traefik/pkg/version.Version=$VERSION \ -X github.com/containous/traefik/pkg/version.Codename=$CODENAME \ -X github.com/containous/traefik/pkg/version.BuildDate=$DATE" \ diff --git a/script/test-integration b/script/test-integration index 9031a93e1..98cf11d65 100755 --- a/script/test-integration +++ b/script/test-integration @@ -17,10 +17,12 @@ docker version if [ -n "$TEST_CONTAINER" ]; then echo "Testing from container…" - CGO_ENABLED=0 go test -integration -container "${TESTFLAGS[@]}" + # shellcheck disable=SC2086 + CGO_ENABLED=0 go test -integration -container ${TESTFLAGS[*]} fi if [ -n "$TEST_HOST" ]; then echo "Testing from host…" - CGO_ENABLED=0 go test -integration -host "${TESTFLAGS[@]}" + # shellcheck disable=SC2086 + CGO_ENABLED=0 go test -integration -host ${TESTFLAGS[*]} fi diff --git a/script/test-unit b/script/test-unit index 5b5097cd3..08dab103d 100755 --- a/script/test-unit +++ b/script/test-unit @@ -21,7 +21,8 @@ fi set +e -go test "${TESTFLAGS[@]}" ./pkg/... +# shellcheck disable=SC2086 +go test ${TESTFLAGS[*]} ./pkg/... CODE=$? if [ ${CODE} != 0 ]; then