mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
acme_extract is being scanned by shellcheck due to permissions differences
This commit is contained in:
parent
7fe07fc586
commit
58bca91f9c
|
@ -105,7 +105,7 @@ function _shellcheck
|
||||||
-not -path './target/docker-configomat/*'
|
-not -path './target/docker-configomat/*'
|
||||||
)"
|
)"
|
||||||
# macOS lacks parity for `-executable` but presently produces the same results: https://stackoverflow.com/a/4458361
|
# macOS lacks parity for `-executable` but presently produces the same results: https://stackoverflow.com/a/4458361
|
||||||
[[ "$(uname)" == "Darwin" ]] && FIND_EXEC="-perm +111 -type l -or" || FIND_EXEC="-executable"
|
[[ "$(uname)" == "Darwin" ]] && FIND_EXEC="-perm -711" || FIND_EXEC="-executable"
|
||||||
# shellcheck disable=SC2248
|
# shellcheck disable=SC2248
|
||||||
F_BIN="$(find 'target/bin' ${FIND_EXEC} -type f)"
|
F_BIN="$(find 'target/bin' ${FIND_EXEC} -type f)"
|
||||||
F_BATS="$(find 'test' -maxdepth 1 -type f -iname '*.bats')"
|
F_BATS="$(find 'test' -maxdepth 1 -type f -iname '*.bats')"
|
||||||
|
|
Loading…
Reference in a new issue