From 5289685fc73794cdb27b39100f0e7c3c25af9e12 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Tue, 1 Dec 2020 19:36:07 -0800 Subject: [PATCH] Use fullpath() to resolve the symlink issue for finding the correct xtrn dir. --- exec/load/install-3rdp-xtrn.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/load/install-3rdp-xtrn.js b/exec/load/install-3rdp-xtrn.js index 8988f7066f..68305e6a3a 100755 --- a/exec/load/install-3rdp-xtrn.js +++ b/exec/load/install-3rdp-xtrn.js @@ -18,9 +18,9 @@ function scan(options) if(options === undefined) options = {}; if(!options.src_dir) - options.src_dir = "../xtrn/3rdp-install/"; + options.src_dir = fullpath(system.ctrl_dir + "../xtrn/3rdp-install/"); if(!options.xtrn_dir) - options.xtrn_dir = "../xtrn/"; + options.xtrn_dir = fullpath(system.ctrl_dir + "../xtrn/"); var out = []; var exe_list = {}; -- GitLab