We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a42975d + b170f59 commit 8b45b40Copy full SHA for 8b45b40
environment/bin/build
@@ -296,9 +296,12 @@ install_private_themes() {
296
}
297
298
install_composer_packages() {
299
- list_all_versioned_composer_files | while IFS= read -r line; do
300
- [[ -f $line ]] && docker_compose_run_with_host_user -w /app/`dirname $line` composer install ${COMPOSER_INSTALL_OPTIONS} < /dev/tty
301
- done
+ exec 3</dev/tty || exec 3<&0
+ while read composer_file
+ do
302
+ [[ -f $composer_file ]] && docker_compose_run_with_host_user -w /app/`dirname $composer_file` composer install ${COMPOSER_INSTALL_OPTIONS} <&3
303
+ done < <(list_all_versioned_composer_files)
304
+ exec 3<&-
305
306
307
list_all_versioned_composer_files() {
0 commit comments