Verified Commit 09255f2b authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed installation or update of x13 binary.

parent 025b1d2e
...@@ -26,12 +26,21 @@ if ~exist('','file') ...@@ -26,12 +26,21 @@ if ~exist('','file')
end end
unzip(''); unzip('');
if ismac() if ismac()
if exist('./osx', 'dir')
rmdir('osx', 's')
mkdir osx; mkdir osx;
movefile('binaries/osx/*','./osx'); movefile('binaries/osx/*','./osx');
elseif isunix() elseif isunix()
if exist('./linux', 'dir')
rmdir('linux', 's')
mkdir linux; mkdir linux;
movefile('binaries/linux/*','./linux'); movefile('binaries/linux/*','./linux');
elseif ispc() elseif ispc()
if exist('./windows', 'dir')
rmdir('windows', 's')
mkdir windows; mkdir windows;
movefile('binaries/windows/*','./windows'); movefile('binaries/windows/*','./windows');
else else
...@@ -22,4 +22,8 @@ if exist('','file') ...@@ -22,4 +22,8 @@ if exist('','file')
delete('') delete('')
end end
if exist('./binaries', 'dir')
rmdir('binaries', 's');
installx13(); installx13();
\ No newline at end of file
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