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 @@ -18,10 +18,10 @@ MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root}
1818set -eux
1919
2020if [ -z " $phpversion " ]; then
21- PHPVERSION =$( php -r ' echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION."\n";' )
21+ phpversion =$( php -r ' echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION."\n";' )
2222fi
2323
24- show_phpinfo " $PHPVERSION "
24+ show_phpinfo " $phpversion "
2525
2626section_start " Run composer"
2727export APP_ENV=" dev"
@@ -106,7 +106,7 @@ cp /proc/cmdline "$ARTIFACTS"/cmdline.txt
106106section_end
107107
108108section_start " Setup webserver"
109- cp /opt/domjudge/domserver/etc/domjudge-fpm.conf /etc/php/" $PHPVERSION " /fpm/pool.d/domjudge.conf
109+ cp /opt/domjudge/domserver/etc/domjudge-fpm.conf /etc/php/" $phpversion " /fpm/pool.d/domjudge.conf
110110
111111rm -f /etc/nginx/sites-enabled/*
112112cp /opt/domjudge/domserver/etc/nginx-conf /etc/nginx/sites-enabled/domjudge
@@ -120,7 +120,7 @@ nginx -t
120120section_end
121121
122122section_start " Show webserver is up"
123- for service in nginx php${PHPVERSION } -fpm; do
123+ for service in nginx php${phpversion } -fpm; do
124124 service " $service " restart
125125 service " $service " status
126126done
You can’t perform that action at this time.
0 commit comments