From 64dc026917e43a40bce655a11c43bcad675ba9b5 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 20 Jan 2024 17:13:57 +0100 Subject: [PATCH] $ynh_node_load_PATH misplaced --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 079e4de..d3f5b3f 100644 --- a/scripts/install +++ b/scripts/install @@ -78,8 +78,8 @@ export TERMINFO=/etc/terminfo ### DONT USE GLOBAL NPM INSTALL ynh_replace_string --match_string="npm install --global" --replace_string="npm install" --target_file="$install_dir/justfile" #ynh_replace_string --match_string="npx" --replace_string="$ynh_npm exec --" --target_file="$install_dir/justfile" -#ynh_exec_warn ynh_exec_as $app $ynh_node_load_PATH -s $SHELL -lc "cat $install_dir/justfile" -ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH -s $SHELL -lc "WITH_DOCKER=no just rel-build" +#ynh_exec_warn ynh_exec_as $app -s $SHELL -lc "$ynh_node_load_PATH cat $install_dir/justfile" +ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just rel-build" #ynh_exec_warn_less just rel-build # node needs (root) access to /usr/local/lib/node_modules #=================================================