diff --git a/scripts/install b/scripts/install index 6bd7a95..2d15574 100755 --- a/scripts/install +++ b/scripts/install @@ -149,8 +149,8 @@ pushd "$final_path" # Setup node environment export NODE_OPTIONS=--max_old_space_size=1024 # Build server from source - ynh_secure_remove --file="$final_path/build" - make all DESTDIR=$final_path/build 2>&1 + ynh_use_nodejs + ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" make all install DESTDIR=$final_path/build 2>&1 ynh_secure_remove --file="$final_path/go" popd