Use SYMFONY_VERSION as a variable name everywhere to avoid mistakes

This commit is contained in:
Mateusz Sip
2018-06-23 21:58:44 +02:00
parent d9541dc3f8
commit bd86544c3e
3 changed files with 6 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ fi
if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then
# The first time volumes are mounted, the project needs to be recreated
if [ ! -f composer.json ]; then
composer create-project "symfony/skeleton $VERSION" tmp --stability=$STABILITY --prefer-dist --no-progress --no-interaction
composer create-project "symfony/skeleton $SYMFONY_VERSION" tmp --stability=$STABILITY --prefer-dist --no-progress --no-interaction
cp -Rp tmp/. .
rm -Rf tmp/
elif [ "$APP_ENV" != 'prod' ]; then