mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-10 09:24:50 +02:00
chore(scripts): Removing flock so NFS works (#1980)
Co-authored-by: Casper <casperklein@users.noreply.github.com> Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
ba32943986
commit
5becce8064
8 changed files with 302 additions and 273 deletions
|
@ -6,7 +6,13 @@
|
|||
|
||||
SCRIPT="lint.sh"
|
||||
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
if [[ "$(uname)" == "Darwin" ]]
|
||||
then
|
||||
readlink() {
|
||||
greadlink "${@:+$@}" # Requires coreutils
|
||||
}
|
||||
fi
|
||||
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
|
||||
REPO_ROOT="$(realpath "${SCRIPT_DIR}"/../../)"
|
||||
|
||||
HADOLINT_VERSION=2.4.1
|
||||
|
@ -51,7 +57,7 @@ function __log_success
|
|||
|
||||
function __in_path
|
||||
{
|
||||
command -v "${@}" &>/dev/null && return 0 ; return 1 ;
|
||||
command -v "${@:+$@}" &>/dev/null && return 0 ; return 1 ;
|
||||
}
|
||||
|
||||
function _eclint
|
||||
|
@ -142,4 +148,4 @@ function __main
|
|||
esac
|
||||
}
|
||||
|
||||
__main "${@}" || exit ${?}
|
||||
__main "${@:+$@}" || exit ${?}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue