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

Fixed installation or update of x13 binary.

parent 025b1d2e
No related branches found
No related tags found
No related merge requests found
......@@ -26,12 +26,21 @@ if ~exist('x13.zip','file')
end
unzip('x13.zip');
if ismac()
if exist('./osx', 'dir')
rmdir('osx', 's')
end
mkdir osx;
movefile('binaries/osx/*','./osx');
elseif isunix()
if exist('./linux', 'dir')
rmdir('linux', 's')
end
mkdir linux;
movefile('binaries/linux/*','./linux');
elseif ispc()
if exist('./windows', 'dir')
rmdir('windows', 's')
end
mkdir windows;
movefile('binaries/windows/*','./windows');
else
......
......@@ -22,4 +22,8 @@ if exist('x13.zip','file')
delete('x13.zip')
end
if exist('./binaries', 'dir')
rmdir('binaries', 's');
end
installx13();
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment