This commit is contained in:
@@ -70,6 +70,11 @@ cd /workspace
|
||||
# Install PHP dependencies
|
||||
composer install
|
||||
|
||||
# CakePHP: CRLF in bin/cake (common after Windows checkouts) breaks the shell script and PHP_SAPI probing
|
||||
if [ -f bin/cake ]; then
|
||||
sed -i 's/\r$//' bin/cake
|
||||
fi
|
||||
|
||||
# Copy the environment file to the repository's environments directory
|
||||
if [ -f /environment/.env ]; then
|
||||
cp /environment/.env /workspace/.env
|
||||
|
||||
Reference in New Issue
Block a user