From 4dc44787cfc5fa5a3574d0a6c838a0b4696721d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Mon, 15 May 2017 17:08:43 +0200 Subject: [PATCH] ceph-docker-lint: test code SC2015 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Work around in https://github.com/ceph/ceph-docker/pull/622 Using if and unset -e and reset it. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1450480 Signed-off-by: Sébastien Han --- ceph-docker-lint/build/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-docker-lint/build/build b/ceph-docker-lint/build/build index 3bdda4a0..76cb7c51 100755 --- a/ceph-docker-lint/build/build +++ b/ceph-docker-lint/build/build @@ -3,7 +3,7 @@ set -e set -x -IGNORE_THESE_CODES="SC1091,SC2015,SC2009,SC2001" +IGNORE_THESE_CODES="SC1091,SC2009,SC2001" IGNORE_THESE_FILES="variables_entrypoint.sh" # pipe-separated file names, e.g: foo|bar|foobar, this avoids shellcheck complaining that vars are not used (see: SC2034) function generate_filelist(){ -- 2.39.5