From e833c674eeda7b52d466e60a128ebdaed470c158 Mon Sep 17 00:00:00 2001 From: John Ruiz Date: Mon, 17 Oct 2022 15:16:46 -0400 Subject: [PATCH] Update docker-entrypoint.sh (#110) --- entrypoint/docker-entrypoint.sh | 4 ++-- mainline/alpine-perl/docker-entrypoint.sh | 4 ++-- mainline/alpine-slim/docker-entrypoint.sh | 4 ++-- mainline/alpine/docker-entrypoint.sh | 4 ++-- mainline/debian-perl/docker-entrypoint.sh | 4 ++-- mainline/debian/docker-entrypoint.sh | 4 ++-- stable/alpine-perl/docker-entrypoint.sh | 4 ++-- stable/alpine-slim/docker-entrypoint.sh | 4 ++-- stable/alpine/docker-entrypoint.sh | 4 ++-- stable/debian-perl/docker-entrypoint.sh | 4 ++-- stable/debian/docker-entrypoint.sh | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/entrypoint/docker-entrypoint.sh b/entrypoint/docker-entrypoint.sh index 72e3faf..e201fe6 100755 --- a/entrypoint/docker-entrypoint.sh +++ b/entrypoint/docker-entrypoint.sh @@ -18,11 +18,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh) diff --git a/mainline/alpine-perl/docker-entrypoint.sh b/mainline/alpine-perl/docker-entrypoint.sh index 72e3faf..e201fe6 100755 --- a/mainline/alpine-perl/docker-entrypoint.sh +++ b/mainline/alpine-perl/docker-entrypoint.sh @@ -18,11 +18,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh) diff --git a/mainline/alpine-slim/docker-entrypoint.sh b/mainline/alpine-slim/docker-entrypoint.sh index 72e3faf..e201fe6 100755 --- a/mainline/alpine-slim/docker-entrypoint.sh +++ b/mainline/alpine-slim/docker-entrypoint.sh @@ -18,11 +18,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh) diff --git a/mainline/alpine/docker-entrypoint.sh b/mainline/alpine/docker-entrypoint.sh index 72e3faf..e201fe6 100755 --- a/mainline/alpine/docker-entrypoint.sh +++ b/mainline/alpine/docker-entrypoint.sh @@ -18,11 +18,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh) diff --git a/mainline/debian-perl/docker-entrypoint.sh b/mainline/debian-perl/docker-entrypoint.sh index 72e3faf..e201fe6 100755 --- a/mainline/debian-perl/docker-entrypoint.sh +++ b/mainline/debian-perl/docker-entrypoint.sh @@ -18,11 +18,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh) diff --git a/mainline/debian/docker-entrypoint.sh b/mainline/debian/docker-entrypoint.sh index 72e3faf..e201fe6 100755 --- a/mainline/debian/docker-entrypoint.sh +++ b/mainline/debian/docker-entrypoint.sh @@ -18,11 +18,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh) diff --git a/stable/alpine-perl/docker-entrypoint.sh b/stable/alpine-perl/docker-entrypoint.sh index 72e3faf..e201fe6 100755 --- a/stable/alpine-perl/docker-entrypoint.sh +++ b/stable/alpine-perl/docker-entrypoint.sh @@ -18,11 +18,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh) diff --git a/stable/alpine-slim/docker-entrypoint.sh b/stable/alpine-slim/docker-entrypoint.sh index 72e3faf..e201fe6 100755 --- a/stable/alpine-slim/docker-entrypoint.sh +++ b/stable/alpine-slim/docker-entrypoint.sh @@ -18,11 +18,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh) diff --git a/stable/alpine/docker-entrypoint.sh b/stable/alpine/docker-entrypoint.sh index 72e3faf..e201fe6 100755 --- a/stable/alpine/docker-entrypoint.sh +++ b/stable/alpine/docker-entrypoint.sh @@ -18,11 +18,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh) diff --git a/stable/debian-perl/docker-entrypoint.sh b/stable/debian-perl/docker-entrypoint.sh index 72e3faf..e201fe6 100755 --- a/stable/debian-perl/docker-entrypoint.sh +++ b/stable/debian-perl/docker-entrypoint.sh @@ -18,11 +18,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh) diff --git a/stable/debian/docker-entrypoint.sh b/stable/debian/docker-entrypoint.sh index 72e3faf..e201fe6 100755 --- a/stable/debian/docker-entrypoint.sh +++ b/stable/debian/docker-entrypoint.sh @@ -18,11 +18,11 @@ if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then case "$f" in *.envsh) if [ -x "$f" ]; then - echo >&3 "$0: Sourcing $f"; + entrypoint_log "$0: Sourcing $f"; . "$f" else # warn on shell scripts without exec bit - echo >&3 "$0: Ignoring $f, not executable"; + entrypoint_log "$0: Ignoring $f, not executable"; fi ;; *.sh)