Commit 43132ccd authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

itaVA deploy fixes in proto file

parent 59b5f3ac
......@@ -18,14 +18,14 @@ if exist( deploy_dir, 'dir' ) ~= 7
error( 'Deploy dir ''%s'' does not exist. Please build and install VAMatlab first.', deploy_dir )
if exist( 'VAMatlab', 'file' )
if exist( [ 'VAMatlab' mexext ], 'file' )
warning( 'VAMatlab already found at location "%s", are you sure to build itaVA against this executable? Will proceed now.', which( 'VAMatlab' ) )
% Add to PATH temporarily and attempt to move lib to bin dir
addpath( script_dir, bin_dir )
addpath( script_dir, deploy_dir )
[ s ] = movefile( fullfile( lib_dir, 'VAMatlab*' ), bin_dir );
if ~s && ~exist( 'VAMatlab', 'file' )
[ s ] = movefile( fullfile( lib_dir, 'VAMatlab*' ), deploy_dir );
if ~s && ~exist( [ 'VAMatlab' mexext ], 'file' )
error( 'Could locate VAMatlab executable. Please make sure that it can be found.' )
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