diff --git a/scripts/install b/scripts/install index fadaac0..7947d6a 100644 --- a/scripts/install +++ b/scripts/install @@ -37,7 +37,7 @@ ynh_script_progression --message="Building app... (this will take some time and pushd "$install_dir/source" ynh_use_nodejs ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install - ynh_exec_warn_less "$ynh_node_load_PATH" "$ynh_npm" install gulp -g + ynh_exec_warn_less env "$ynh_node_load_PATH" "$ynh_npm" install gulp -g ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" run build popd diff --git a/scripts/upgrade b/scripts/upgrade index e1dc7f2..a2c9626 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -57,7 +57,7 @@ ynh_script_progression --message="Building app... (this will take some time and pushd "$install_dir/build" ynh_use_nodejs ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install - ynh_exec_warn_less "$ynh_node_load_PATH" "$ynh_npm" install gulp -g + ynh_exec_warn_less env "$ynh_node_load_PATH" "$ynh_npm" install gulp -g ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" run build popd