Fixed path to X13 binary.

parent e2659938
......@@ -28,15 +28,15 @@ dseries_src_root = strrep(which('initialize_dseries_toolbox'),'initialize_dserie
% Check that the x13 binary is available
nox13 = false;
if isunix()
if ~(exist('../externals/x13/linux/64/x13', 'file') && exist('../externals/x13/linux/32/x13', 'file'))
if ~(exist([dseries_src_root '../externals/x13/linux/64/x13'], 'file') && exist([dseries_src_root '../externals/x13/linux/32/x13'], 'file'))
nox13 = true;
end
elseif ismac()
if ~exist('../externals/x13/osx/64/x13', 'file')
if ~exist([dseries_src_root '../externals/x13/osx/64/x13'], 'file')
nox13 = true;
end
elseif ispc()
if ~(exist('../externals/x13/windows/64/x13.exe', 'file') && exist('../externals/x13/windows/32/x13.exe', 'file'))
if ~(exist([dseries_src_root '../externals/x13/windows/64/x13.exe'], 'file') && exist([dseries_src_root '../externals/x13/windows/32/x13.exe'], 'file'))
nox13 = true;
end
else
......
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