File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
2929 # Install additional composer packages if COMPOSER_EXTRA_PACKAGES is set
3030 if [ -n " $COMPOSER_EXTRA_PACKAGES " ]; then
3131 echo " Installing additional composer packages: $COMPOSER_EXTRA_PACKAGES "
32+ # Note: COMPOSER_EXTRA_PACKAGES is intentionally not quoted to allow word splitting
33+ # This enables passing multiple package names separated by spaces
34+ # shellcheck disable=SC2086
3235 composer require $COMPOSER_EXTRA_PACKAGES --no-interaction --no-progress --optimize-autoloader
3336 if [ $? -eq 0 ]; then
3437 echo " Successfully installed additional composer packages"
Original file line number Diff line number Diff line change 4242# Install additional composer packages if COMPOSER_EXTRA_PACKAGES is set
4343if [ -n " $COMPOSER_EXTRA_PACKAGES " ]; then
4444 echo " Installing additional composer packages: $COMPOSER_EXTRA_PACKAGES "
45+ # Note: COMPOSER_EXTRA_PACKAGES is intentionally not quoted to allow word splitting
46+ # This enables passing multiple package names separated by spaces
47+ # shellcheck disable=SC2086
4548 sudo -E -u www-data composer require $COMPOSER_EXTRA_PACKAGES --no-interaction --no-progress --optimize-autoloader
4649 if [ $? -eq 0 ]; then
4750 echo " Successfully installed additional composer packages"
You can’t perform that action at this time.
0 commit comments