From 77696a23cb89b5d40c20e9b92879e41506210a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 30 Jun 2020 16:00:38 +0200 Subject: [PATCH] Wooops, forgot node env for yarn call --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 7ecce72..d88c4c2 100755 --- a/scripts/install +++ b/scripts/install @@ -110,7 +110,7 @@ chown -R "$app":"$app" "$final_path" pushd "$final_path" || return 1 ynh_use_nodejs sudo -u "$app" env "$ynh_node_load_PATH" yarn global add wetty - yarn_bin_dir="$(sudo -u "$app" yarn global bin)" + yarn_bin_dir="$(sudo -u "$app" env "$ynh_node_load_PATH" yarn global bin)" popd || return 1 #=================================================