Skip to content

Commit 6329f2c

Browse files
committed
linting fixes
1 parent 6bba352 commit 6329f2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

root/etc/cont-init.d/30_config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sed -i 's/key_buffer\b/key_buffer_size/g' /etc/mysql/my.cnf
1111
sed -ri 's/^(bind-address|skip-networking)/;\1/' /etc/mysql/my.cnf
1212
sed -i s#/var/log/mysql#/config/log/mysql#g /etc/mysql/my.cnf
1313
sed -i -e 's/\(user.*=\).*/\1 abc/g' /etc/mysql/my.cnf
14-
sed -i -e "s#\(datadir.*=\).*#\1 $DATADIR#g" /etc/mysql/my.cnf
14+
sed -i -e "s#\\(datadir.*=\\).*#\\1 $DATADIR#g" /etc/mysql/my.cnf
1515
sed -i "s/user='mysql'/user='abc'/g" /usr/bin/mysqld_safe
1616

1717
# setup custom cnf file

root/etc/cont-init.d/40-initialise-db

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ echo "Database Setup Completed"
6969

7070
# display a message about password if not set or too short
7171
if [ "$TEST_LEN" -lt "4" ]; then
72-
printf "\n\n\n%s\n\n\n" "$(</tmp/no-pass.nfo)"
72+
printf '\n\n\n%s\n\n\n' "$(</tmp/no-pass.nfo)"
7373
sleep 5s
7474
fi
7575

0 commit comments

Comments
 (0)