Skip to content

Commit

Permalink
Update docker-entrypoint.sh (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
jar349 authored Oct 17, 2022
1 parent 0029c30 commit e833c67
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions entrypoint/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions mainline/alpine-perl/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions mainline/alpine-slim/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions mainline/alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions mainline/debian-perl/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions mainline/debian/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions stable/alpine-perl/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions stable/alpine-slim/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions stable/alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions stable/debian-perl/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions stable/debian/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e833c67

Please sign in to comment.