File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,15 +132,15 @@ else
132132fi
133133
134134
135- if [ $( $machine status default) != " Running " ]; then
135+ if [ $( $machine status default | tr " A-Z " " a-z " ) != " running " ]; then
136136 echo " The docker VM doesn't seem to be running; will attempt to start it by doing '\$ $machine start':"
137137 $machine start || die " Failed taking up the Docker VM"
138138fi
139139
140140if [ -f " $machine " ]; then
141- if [ $( $machine status | tr " A-Z" " a-z" ) = " Running " ]; then
141+ if [ $( $machine status default | tr " A-Z" " a-z" ) = " running " ]; then
142142 tmpfile=$( mktemp docker.run.XXXXXXXX)
143- if $machine $ env 2> /dev/null | grep DOCKER_ > $tmpfile ; then
143+ if $machine env 2> /dev/null | grep DOCKER_ > $tmpfile ; then
144144 mv $tmpfile ~ /.docker-info
145145 elif printenv | grep DOCKER_ > $tmpfile ; then
146146 mv $tmpfile ~ /.docker-info
@@ -169,7 +169,7 @@ to bail out here. Quitting."
169169if [ -n " $DOWNLOAD " ]; then
170170 (
171171 cd $( dirname $MYSQLDIR )
172- wget -N $URL && tar xjf ietf_utf8.bin.tar.bz2 && chmod -R g+rX mysql
172+ wget -N $URL && tar xjf ietf_utf8.bin.tar.bz2 && chmod -R go+rwX mysql
173173 )
174174 [ -d " $MYSQLDIR " ] || die " The download seems to have failed; still no $MYSQLDIR . Giving up."
175175else
You can’t perform that action at this time.
0 commit comments