xdebug_enable bash fix
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Aleksander Cynarski 2021-11-23 03:08:41 +01:00
parent 0300e4e84c
commit 820434ee71
Signed by: paramah
GPG Key ID: C4340BA42B9C173A

View File

@ -21,12 +21,12 @@ h2() {
h1 "Actual environment: ${ENVIRONMENT}"
if [ $ENVIRONMENT != 'production' ]; then
if [[ $ENVIRONMENT != 'production' ]]; then
wget -O phpunit https://phar.phpunit.de/phpunit-9.phar
install phpunit /usr/local/bin
fi
if [ $ENVIRONMENT == 'development' ]; then
if [[ $ENVIRONMENT == 'development' ]]; then
h2 "Install xdebug"
apk --update --no-cache add autoconf g++ make
pecl install -f xdebug