Skip to content

Commit

Permalink
Unit test setup bash script bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
purinda committed Mar 27, 2017
1 parent d0deca7 commit a33a957
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup-phpunit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if [ -z "$MARIADB_MAJOR" ]; then
# Copy the setup command to the database container and run
DB_CONTAINER=$(docker-compose ps | grep db | cut -d " " -f1)
docker cp $SCRIPT "$DB_CONTAINER:/"
docker-compose exec db bash $SCRIPT
docker-compose exec db bash /$SCRIPT

echo Laravel db setup installed and ran successfully
else
Expand Down Expand Up @@ -41,4 +41,4 @@ else

mysql -e 'FLUSH PRIVILEGES';
fi
fi
fi

0 comments on commit a33a957

Please sign in to comment.