From a3588e2843c650f36bd577c3efbfc00e7a89036e Mon Sep 17 00:00:00 2001 From: Willi Mutschler <willi@mutschler.eu> Date: Tue, 17 Aug 2021 13:33:46 +0200 Subject: [PATCH] Add ability to use self-compiled x13as on Mac --- src/utilities/x13/select_x13_binary.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/utilities/x13/select_x13_binary.m b/src/utilities/x13/select_x13_binary.m index 8eb3e85..2f0053b 100644 --- a/src/utilities/x13/select_x13_binary.m +++ b/src/utilities/x13/select_x13_binary.m @@ -33,6 +33,12 @@ if ismac() else x13_binary = sprintf('%s%s%s%s', x13_binary, '32', filesep(), 'x13as'); end + if ~exist(x13_binary, 'file') + [status, x13_binary] = system('which x13as'); + if ~status + x13_binary = deblank(x13_binary); + end + end elseif isunix() x13_binary = sprintf('%s%s%s', dseries_x13_root, 'linux', filesep()); if is64bit() -- GitLab