From d6ce95a4a260a746bb2549d7f4f9295aff7a81d9 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 8 Aug 2020 21:45:52 +0200 Subject: [PATCH] Update ynh_add_config --- scripts/ynh_add_config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/ynh_add_config b/scripts/ynh_add_config index e92e46f..31513ba 100644 --- a/scripts/ynh_add_config +++ b/scripts/ynh_add_config @@ -112,6 +112,9 @@ ynh_replace_vars () { if test -n "${YNH_PHP_VERSION:-}"; then ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$YNH_PHP_VERSION" --target_file="$file" fi + if test -n "${ynh_node_load_PATH:-}"; then + ynh_replace_string --match_string="__YNH_NODE_LOAD_PATH__" --replace_string="$ynh_node_load_PATH" --target_file="$file" + fi # Replace othes variables