From 8b2fc6518e9d3698dcc67b4862203c425cfa0cda Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 12 Nov 2021 20:56:32 +0100 Subject: [PATCH] Fix ynh_exec_warn_less not being happy with FOO=bar --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 3ed90c3..96e2f4e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -133,7 +133,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then pushd $final_path ynh_use_nodejs - ynh_exec_warn_less NODE_ENV=production yarn install + export NODE_ENV=production + ynh_exec_warn_less yarn install yarn add webpack webpack-dev-server --dev ynh_exec_warn_less NODE_ENV=production yarn build popd