Skip to content

Commit

Permalink
Ref #50 : Fixed a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann-BUTSCHER-EIRL committed Aug 2, 2019
1 parent 3afdd09 commit 55878b2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions server_start_aaasso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,21 @@ then
# Concatening previous data to form the database connection string (also named url) for doctrine
database_url="mysql://${database_user}:${database_password}@${database_host}:${database_port}/${database_name}"

# We are removing the conf file if it already exist
if [ -f ".env.local_for_${env}" ]
then
# We are removig it
rm ".env.local_for_${env}"
fi

# We are removing the phpunit file if it already exist
# Test env only
if [ -f "phpunit.xml" ] && [ "$env" = "test" ]
then
# We are removig it
rm phpunit.xml
fi

# Generating env and php unit files
setup_env_file

Expand Down

0 comments on commit 55878b2

Please sign in to comment.