Skip to content

Commit

Permalink
[platformsh_prestart_cacheclear.sh] Set default for SYMFONY_ENV variable
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Oct 4, 2019
1 parent cccb7fd commit f576f04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/platformsh_prestart_cacheclear.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
set -e

#date
echo "removing var/cache/${SYMFONY_ENV}/*.* to avoid Symfony container issues on interface changes"
rm -Rf var/cache/${SYMFONY_ENV}/*.*
echo "removing var/cache/${SYMFONY_ENV-dev}/*.* to avoid Symfony container issues on interface changes"
rm -Rf var/cache/${SYMFONY_ENV-dev}/*.*
#date
echo "clearing application cache"
php bin/console cache:clear
Expand Down

0 comments on commit f576f04

Please sign in to comment.