Commit c51cfe6d authored by Stéphane Adjemian's avatar Stéphane Adjemian

Fixed detection of x13 binary on macOS.

parent 164fe3b5
Pipeline #629 failed with stage
in 52 seconds
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment