export HOME when running composer
This commit is contained in:
parent
bef3642f49
commit
c93f4581c4
|
@ -116,7 +116,7 @@ commands:
|
||||||
|
|
||||||
"/bin/sh"
|
"/bin/sh"
|
||||||
# args => "-c 'cd $(cfg[install_dir]) && $(php_composer.exe) -q -n create-project --prefer-dist --no-dev opensolutions/vimbadmin'",
|
# args => "-c 'cd $(cfg[install_dir]) && $(php_composer.exe) -q -n create-project --prefer-dist --no-dev opensolutions/vimbadmin'",
|
||||||
args => "-c 'cd $(cfg[install_dir]) && $(php_composer.exe) update -q --no-cache && $(php_composer.exe) install --no-cache -q --prefer-dist --no-dev",
|
args => "-c 'export HOME=$(cfg[install_dir]) && cd $(cfg[install_dir]) && $(php_composer.exe) update -q --no-cache && $(php_composer.exe) install --no-cache -q --prefer-dist --no-dev'",
|
||||||
handle => "vimbadmin_composed",
|
handle => "vimbadmin_composed",
|
||||||
depends_on => {
|
depends_on => {
|
||||||
"vimbadmin_pkgs_installed"
|
"vimbadmin_pkgs_installed"
|
||||||
|
@ -160,4 +160,6 @@ body contain vimbadmin_cmd
|
||||||
|
|
||||||
exec_owner => "$(apache.www_user)";
|
exec_owner => "$(apache.www_user)";
|
||||||
exec_group => "$(apache.www_group)";
|
exec_group => "$(apache.www_group)";
|
||||||
|
useshell=>"useshell";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue