1
0
Fork 0
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:
Salamandar 2024-03-03 12:57:49 +01:00
parent 4630aaa666
commit b5e89c196a
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ chown -R "$app:www-data" "$install_dir"
ynh_script_progression --message="Installing $app with Composer..." --weight=30
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 run buildall

View file

@ -46,7 +46,7 @@ chown -R "$app:www-data" "$install_dir"
ynh_script_progression --message="Building $app with Composer..." --weight=30
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 run buildall