From b2da71f9d2ffe3ac5016db6ea16c24d35debfbc6 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sat, 14 Dec 2019 23:07:26 +0100 Subject: [PATCH] Add "/.composer/vendor/bin" to PATH within chroot --- var/www/setup_chroot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/var/www/setup_chroot.sh b/var/www/setup_chroot.sh index c9afde4..4009dad 100755 --- a/var/www/setup_chroot.sh +++ b/var/www/setup_chroot.sh @@ -216,6 +216,7 @@ for DIRECTORY in ${DIRECTORIES_GENERAL[@]}; do done echo "export HOME=/" > $CHROOT_DIRECTORY/etc/profile.d/hosting.sh echo "export HISTFILE=/.bash_history" >> $CHROOT_DIRECTORY/etc/profile.d/hosting.sh +echo 'export PATH="$PATH:/.composer/vendor/bin"' >> $CHROOT_DIRECTORY/etc/profile.d/hosting.sh # copy general files for FILE in ${FILES_GENERAL[@]}; do CHROOT_FILE $FILE