ci: shellcheck disable=SC2086

This commit is contained in:
Michael Grote 2023-11-09 09:18:19 +01:00
parent 9dec488c64
commit 65d3097548

View file

@ -8,11 +8,12 @@ nextcloud_exec_no_shell() {
if [[ -n "$NEXTCLOUD_EXEC_USER" ]]; then if [[ -n "$NEXTCLOUD_EXEC_USER" ]]; then
exec_user="--user $NEXTCLOUD_EXEC_USER" exec_user="--user $NEXTCLOUD_EXEC_USER"
fi fi
# shellcheck disable=SC2086
docker exec $exec_user "$containerId" "$@" docker exec $exec_user "$containerId" "$@"
} }
nextcloud_exec() { nextcloud_exec() {
containerId="$1"; shift containerId="$1"; shift
# shellcheck disable=SC2086
nextcloud_exec_no_shell "$containerId" "$NEXTCLOUD_EXEC_SHELL" $NEXTCLOUD_EXEC_SHELL_ARGS "$@" nextcloud_exec_no_shell "$containerId" "$NEXTCLOUD_EXEC_SHELL" $NEXTCLOUD_EXEC_SHELL_ARGS "$@"
} }