From b141d16b488687334973d1749d842b60a7ffcb35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Z=C3=BClke?= Date: Wed, 5 Jun 2024 14:18:45 +0200 Subject: [PATCH 1/3] Test a $PATH workaround for Composer in Heroku CI via .profile --- .profile | 1 + 1 file changed, 1 insertion(+) create mode 100644 .profile diff --git a/.profile b/.profile new file mode 100644 index 000000000..53e34f45c --- /dev/null +++ b/.profile @@ -0,0 +1 @@ +export PATH="$PATH:$(cd "$(dirname "$(realpath "$(which composer)")")"; cd ../../..; realpath "$(PHP_INI_SCAN_DIR= COMPOSER_AUTH= composer config --no-plugins bin-dir)")" From e22896747d906472d3c2c005fc5b9177a9f952c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Z=C3=BClke?= Date: Wed, 5 Jun 2024 14:20:28 +0200 Subject: [PATCH 2/3] Some cwd related test output in .profile --- .profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.profile b/.profile index 53e34f45c..baf3d58b0 100644 --- a/.profile +++ b/.profile @@ -1 +1,4 @@ +pwd +echo "$PATH" export PATH="$PATH:$(cd "$(dirname "$(realpath "$(which composer)")")"; cd ../../..; realpath "$(PHP_INI_SCAN_DIR= COMPOSER_AUTH= composer config --no-plugins bin-dir)")" +echo "$PATH" From 7aab673fbef7e3ec38e2ab44ab57b2b04cbb6274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Z=C3=BClke?= Date: Wed, 5 Jun 2024 14:34:53 +0200 Subject: [PATCH 3/3] cat .profile.d/* in .profile --- .profile | 1 + 1 file changed, 1 insertion(+) diff --git a/.profile b/.profile index baf3d58b0..e4d3b5c84 100644 --- a/.profile +++ b/.profile @@ -1,4 +1,5 @@ pwd +for f in /app/.profile.d/*.sh; do echo "$f:"; cat "$f"; done echo "$PATH" export PATH="$PATH:$(cd "$(dirname "$(realpath "$(which composer)")")"; cd ../../..; realpath "$(PHP_INI_SCAN_DIR= COMPOSER_AUTH= composer config --no-plugins bin-dir)")" echo "$PATH"