Set HOME when runnong composer
This commit is contained in:
parent
f71d485b13
commit
9b76402251
7
php.cf
7
php.cf
|
@ -80,19 +80,17 @@ vars:
|
||||||
"pkgs" slist => {
|
"pkgs" slist => {
|
||||||
"php$(xversion)-cli",
|
"php$(xversion)-cli",
|
||||||
"php$(xversion)-common",
|
"php$(xversion)-common",
|
||||||
"php$(xversion)-pecl-zip",
|
|
||||||
"php$(xversion)-pgsql",
|
"php$(xversion)-pgsql",
|
||||||
"php$(xversion)-mysqlnd",
|
"php$(xversion)-mysqlnd",
|
||||||
"php$(xversion)-xml",
|
"php$(xversion)-xml",
|
||||||
"php$(xversion)-gd",
|
"php$(xversion)-gd",
|
||||||
"php$(xversion)-mbstring",
|
"php$(xversion)-mbstring",
|
||||||
"php$(xversion)-intl",
|
"php$(xversion)-intl",
|
||||||
"php$(xversion)-pecl-imagick-im6",
|
|
||||||
"php$(xversion)-ldap",
|
"php$(xversion)-ldap",
|
||||||
|
"php$(xversion)-pecl-imagick-im6",
|
||||||
"php-pecl-json-post",
|
"php-pecl-json-post",
|
||||||
"php-pecl-apcu",
|
"php-pecl-apcu",
|
||||||
"php-pecl-zip",
|
"php-pecl-zip",
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -290,8 +288,9 @@ commands:
|
||||||
handle => "php_composer_installer_downloaded",
|
handle => "php_composer_installer_downloaded",
|
||||||
depends_on => {"php_dir_created"};
|
depends_on => {"php_dir_created"};
|
||||||
|
|
||||||
"$(php.cli_exe) $(installer) --install-dir=/usr/local/bin --filename=composer"
|
"export HOME=/root && $(php.cli_exe) $(installer) --install-dir=/usr/local/bin --filename=composer"
|
||||||
handle => "php_composer_installed",
|
handle => "php_composer_installed",
|
||||||
|
contain => wmde_cmd_useshell,
|
||||||
depends_on => {"php_composer_installer_downloaded"};
|
depends_on => {"php_composer_installer_downloaded"};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue