mirror of
https://github.com/YunoHost-Apps/elabftw_ynh.git
synced 2024-09-03 18:26:23 +02:00
Fix workdir for composer
This commit is contained in:
parent
4630aaa666
commit
b5e89c196a
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ chown -R "$app:www-data" "$install_dir"
|
||||||
ynh_script_progression --message="Installing $app with Composer..." --weight=30
|
ynh_script_progression --message="Installing $app with Composer..." --weight=30
|
||||||
|
|
||||||
pushd "$install_dir/sources"
|
pushd "$install_dir/sources"
|
||||||
ynh_install_composer --install_args="--no-dev"
|
ynh_install_composer --install_args="--no-dev" --workdir="$install_dir/sources"
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn install --pure-lockfile --prod
|
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn install --pure-lockfile --prod
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn run buildall
|
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn run buildall
|
||||||
|
|
|
@ -46,7 +46,7 @@ chown -R "$app:www-data" "$install_dir"
|
||||||
ynh_script_progression --message="Building $app with Composer..." --weight=30
|
ynh_script_progression --message="Building $app with Composer..." --weight=30
|
||||||
|
|
||||||
pushd "$install_dir/sources"
|
pushd "$install_dir/sources"
|
||||||
ynh_install_composer --install_args="--no-dev"
|
ynh_install_composer --install_args="--no-dev" --workdir="$install_dir/sources"
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn install --pure-lockfile --prod
|
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn install --pure-lockfile --prod
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn run buildall
|
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn run buildall
|
||||||
|
|
Loading…
Reference in a new issue