Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Attempt to fix the build (wrong charset)
mederly committed Oct 13, 2018
1 parent d326dd9 commit d6783ca
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions container_files/bin/start.sh
@@ -16,10 +16,9 @@ if [ -e "/tmp/firsttimerunning" ]; then
fi

echo "Setting DataDir: $MYSQL_DATADIR" >> $log
sed -e "s=\${MYSQL_DATADIR}=$MYSQL_DATADIR=" < /etc/my.cnf > /etc/my.cnf

echo "/etc/my.cnf is:"
cat /etc/my.cnf
sed -e "s=\${MYSQL_DATADIR}=$MYSQL_DATADIR=" < /etc/my.cnf > /etc/my.cnf.new
rm /etc/my.cnf >> $log
mv /etc/my.cnf.new /etc/my.cnf >> $log

if [[ $CREATE_NEW_DATABASE == 1 || ($CREATE_NEW_DATABASE == if_needed && ( ! -d $MYSQL_DATADIR || -z $(ls -A $MYSQL_DATADIR) ) ) ]]; then

0 comments on commit d6783ca

Please sign in to comment.