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.
1 parent 20b41f8 commit b170f59Copy full SHA for b170f59
environment/bin/build
@@ -294,9 +294,12 @@ install_private_themes() {
294
}
295
296
install_composer_packages() {
297
- list_all_versioned_composer_files | while IFS= read -r line; do
298
- [[ -f $line ]] && docker_compose_run_with_host_user -w /app/`dirname $line` composer install ${COMPOSER_INSTALL_OPTIONS} < /dev/tty
299
- done
+ exec 3</dev/tty || exec 3<&0
+ while read composer_file
+ do
300
+ [[ -f $composer_file ]] && docker_compose_run_with_host_user -w /app/`dirname $composer_file` composer install ${COMPOSER_INSTALL_OPTIONS} <&3
301
+ done < <(list_all_versioned_composer_files)
302
+ exec 3<&-
303
304
305
list_all_versioned_composer_files() {
0 commit comments