|
@@ -8,8 +8,12 @@ fw_get https://getcomposer.org/installer -O composer-installer.php
|
|
|
|
|
|
mkdir -p php-composer
|
|
|
|
|
|
-# Use the PHP from our IROOT directory
|
|
|
-PHP_HOME=${IROOT}/php-5.5.17
|
|
|
-${PHP_HOME}/bin/php composer-installer.php --install-dir=$IROOT
|
|
|
+cd php-composer
|
|
|
|
|
|
+# Use the PHP and composer from our PHP_HOME directory and
|
|
|
+# COMPOSER_HOME directories (should be specified in frameworks
|
|
|
+# install.sh file)
|
|
|
+${PHP_HOME}/bin/php composer-installer.php --install-dir=${COMPOSER_HOME}
|
|
|
+
|
|
|
+cd ..
|
|
|
touch ${IROOT}/php-composer.installed
|