diff --git a/scripts/upgrade b/scripts/upgrade index 5fa528b..13824eb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -266,9 +266,10 @@ ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_fil if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading $app with Carton..." --weight=4 - (cd $final_path - ynh_secure_remove --file="$final_path/local" - carton install --deployment --without=mysql --without=htpasswd --without=test) + pushd "$final_path" + ynh_secure_remove --file="$final_path/local" + carton install --without=mysql --without=htpasswd --without=test + popd fi #=================================================