Skip to content

Commit 4f3238c

Browse files
committed
Run update.sh
1 parent e851d64 commit 4f3238c

10 files changed

+10
-10
lines changed

9.2/alpine/docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ "$1" = 'postgres' ]; then
103103
for f in /docker-entrypoint-initdb.d/*; do
104104
case "$f" in
105105
*.sh) echo "$0: running $f"; . "$f" ;;
106-
*.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
106+
*.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
107107
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${psql[@]}"; echo ;;
108108
*) echo "$0: ignoring $f" ;;
109109
esac

9.2/docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ "$1" = 'postgres' ]; then
103103
for f in /docker-entrypoint-initdb.d/*; do
104104
case "$f" in
105105
*.sh) echo "$0: running $f"; . "$f" ;;
106-
*.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
106+
*.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
107107
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${psql[@]}"; echo ;;
108108
*) echo "$0: ignoring $f" ;;
109109
esac

9.3/alpine/docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ "$1" = 'postgres' ]; then
103103
for f in /docker-entrypoint-initdb.d/*; do
104104
case "$f" in
105105
*.sh) echo "$0: running $f"; . "$f" ;;
106-
*.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
106+
*.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
107107
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${psql[@]}"; echo ;;
108108
*) echo "$0: ignoring $f" ;;
109109
esac

9.3/docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ "$1" = 'postgres' ]; then
103103
for f in /docker-entrypoint-initdb.d/*; do
104104
case "$f" in
105105
*.sh) echo "$0: running $f"; . "$f" ;;
106-
*.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
106+
*.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
107107
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${psql[@]}"; echo ;;
108108
*) echo "$0: ignoring $f" ;;
109109
esac

9.4/alpine/docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ "$1" = 'postgres' ]; then
103103
for f in /docker-entrypoint-initdb.d/*; do
104104
case "$f" in
105105
*.sh) echo "$0: running $f"; . "$f" ;;
106-
*.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
106+
*.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
107107
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${psql[@]}"; echo ;;
108108
*) echo "$0: ignoring $f" ;;
109109
esac

9.4/docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ "$1" = 'postgres' ]; then
103103
for f in /docker-entrypoint-initdb.d/*; do
104104
case "$f" in
105105
*.sh) echo "$0: running $f"; . "$f" ;;
106-
*.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
106+
*.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
107107
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${psql[@]}"; echo ;;
108108
*) echo "$0: ignoring $f" ;;
109109
esac

9.5/alpine/docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ "$1" = 'postgres' ]; then
103103
for f in /docker-entrypoint-initdb.d/*; do
104104
case "$f" in
105105
*.sh) echo "$0: running $f"; . "$f" ;;
106-
*.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
106+
*.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
107107
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${psql[@]}"; echo ;;
108108
*) echo "$0: ignoring $f" ;;
109109
esac

9.5/docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ "$1" = 'postgres' ]; then
103103
for f in /docker-entrypoint-initdb.d/*; do
104104
case "$f" in
105105
*.sh) echo "$0: running $f"; . "$f" ;;
106-
*.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
106+
*.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
107107
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${psql[@]}"; echo ;;
108108
*) echo "$0: ignoring $f" ;;
109109
esac

9.6/alpine/docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ "$1" = 'postgres' ]; then
103103
for f in /docker-entrypoint-initdb.d/*; do
104104
case "$f" in
105105
*.sh) echo "$0: running $f"; . "$f" ;;
106-
*.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
106+
*.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
107107
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${psql[@]}"; echo ;;
108108
*) echo "$0: ignoring $f" ;;
109109
esac

9.6/docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if [ "$1" = 'postgres' ]; then
103103
for f in /docker-entrypoint-initdb.d/*; do
104104
case "$f" in
105105
*.sh) echo "$0: running $f"; . "$f" ;;
106-
*.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
106+
*.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
107107
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${psql[@]}"; echo ;;
108108
*) echo "$0: ignoring $f" ;;
109109
esac

0 commit comments

Comments
 (0)