Skip to content
Snippets Groups Projects
Verified Commit c51cfe6d authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed detection of x13 binary on macOS.

parent 164fe3b5
Branches
Tags
No related merge requests found
......@@ -20,13 +20,13 @@ dseries_src_root = strrep(which('dseries.initialize'),'+dseries/initialize.m',''
% Check that the x13 binary is available
nox13 = false;
if isunix()
[status, ~] = system('which x13as');
if status && ~(exist([dseries_src_root '../externals/x13/linux/64/x13as'], 'file') && exist([dseries_src_root '../externals/x13/linux/32/x13as'], 'file'))
if ismac()
if ~exist([dseries_src_root '../externals/x13/osx/64/x13as'], 'file')
nox13 = true;
end
elseif ismac()
if ~exist([dseries_src_root '../externals/x13/osx/64/x13as'], 'file')
elseif isunix()
[status, ~] = system('which x13as');
if status && ~(exist([dseries_src_root '../externals/x13/linux/64/x13as'], 'file') && exist([dseries_src_root '../externals/x13/linux/32/x13as'], 'file'))
nox13 = true;
end
elseif ispc()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment