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>
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(){