File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,12 @@ file_env() {
55
55
unset " $fileVar "
56
56
}
57
57
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
60
60
# (process a single initializer file, based on its extension. we define this
61
61
# function here, so that initializer scripts (*.sh) can use the same logic,
62
62
# potentially recursively, or override the logic used in subsequent calls)
63
- docker_process_init_file () {
63
+ docker_process_init_files () {
64
64
local f=" $1 " ; shift
65
65
local mysql=( " $@ " )
66
66
@@ -302,7 +302,7 @@ docker_main() {
302
302
303
303
echo
304
304
for f in /docker-entrypoint-initdb.d/* ; do
305
- docker_process_init_file " $f " " ${mysql[@]} "
305
+ docker_process_init_files " $f " " ${mysql[@]} "
306
306
done
307
307
308
308
if [ ! -z " $MYSQL_ONETIME_PASSWORD " ]; then
You can’t perform that action at this time.
0 commit comments