Skip to content

Commit 67f2bd3

Browse files
ltangvaldyosifkit
authored andcommitted
Rename docker_process_init_file to docker_process_init_files
1 parent 1503220 commit 67f2bd3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.template.Debian/docker-entrypoint.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ file_env() {
5555
unset "$fileVar"
5656
}
5757

58-
# usage: docker_process_init_file FILENAME MYSQLCOMMAND...
59-
# ie: docker_process_init_file foo.sh mysql -uroot
58+
# usage: docker_process_init_files FILENAME MYSQLCOMMAND...
59+
# ie: docker_process_init_files foo.sh mysql -uroot
6060
# (process a single initializer file, based on its extension. we define this
6161
# function here, so that initializer scripts (*.sh) can use the same logic,
6262
# potentially recursively, or override the logic used in subsequent calls)
63-
docker_process_init_file() {
63+
docker_process_init_files() {
6464
local f="$1"; shift
6565
local mysql=( "$@" )
6666

@@ -302,7 +302,7 @@ docker_main() {
302302

303303
echo
304304
for f in /docker-entrypoint-initdb.d/*; do
305-
docker_process_init_file "$f" "${mysql[@]}"
305+
docker_process_init_files "$f" "${mysql[@]}"
306306
done
307307

308308
if [ ! -z "$MYSQL_ONETIME_PASSWORD" ]; then

0 commit comments

Comments
 (0)