xdebug_enable bash fix
	
		
			
	
		
	
	
		
	
		
			Some checks reported errors
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build encountered an error
				
			
		
		
	
	
				
					
				
			
		
			Some checks reported errors
		
		
	
	continuous-integration/drone/push Build encountered an error
				
			This commit is contained in:
		| @@ -21,12 +21,12 @@ h2() { | |||||||
|  |  | ||||||
| h1 "Actual environment: ${ENVIRONMENT}" | h1 "Actual environment: ${ENVIRONMENT}" | ||||||
|  |  | ||||||
| if [ $ENVIRONMENT != 'production' ]; then | if [[ $ENVIRONMENT != 'production' ]]; then | ||||||
| 	wget -O phpunit https://phar.phpunit.de/phpunit-9.phar  | 	wget -O phpunit https://phar.phpunit.de/phpunit-9.phar  | ||||||
| 	install phpunit /usr/local/bin | 	install phpunit /usr/local/bin | ||||||
| fi  | fi  | ||||||
|  |  | ||||||
| if [ $ENVIRONMENT == 'development' ]; then | if [[ $ENVIRONMENT == 'development' ]]; then | ||||||
| 	h2 "Install xdebug" | 	h2 "Install xdebug" | ||||||
| 	apk --update --no-cache add autoconf g++ make | 	apk --update --no-cache add autoconf g++ make | ||||||
| 	pecl install -f xdebug | 	pecl install -f xdebug | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user