]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-docker-lint: test code SC2015
authorSébastien Han <seb@redhat.com>
Mon, 15 May 2017 15:08:43 +0000 (17:08 +0200)
committerSébastien Han <seb@redhat.com>
Wed, 17 May 2017 14:27:10 +0000 (16:27 +0200)
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 <seb@redhat.com>
ceph-docker-lint/build/build

index 3bdda4a08b3507f2d0c4e30b74aa6119bf10d7a9..76cb7c51b898a5e9d6645e45389e4cca9aa52e87 100755 (executable)
@@ -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(){