Skip to content

Commit

Permalink
change addpath -end to addpath -begin
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan committed Nov 15, 2004
1 parent 75512cc commit a8b7490
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions makeinstall.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ function makeinstall(varargin)
% $Revision$
%
% $Log$
% Revision 3.6 2004/11/10 07:52:15 marwan
% CVS compatibility included
%
% Revision 3.5 2004/11/10 06:29:16 marwan
% Initial commitment
%
Expand Down Expand Up @@ -927,17 +930,18 @@ function makeinstall(varargin)
%# TBfullpath=fullfile(toolboxroot,toolboxpath);
%# if ~exist(TBfullpath), err=mkdir(toolboxroot,toolboxpath); end
%#
%# in = input(['> Add toolbox permanently into your startup path (highly recommended)? Y/T/N [Y]: '],'s');
%# disp(['> In order to get permanent access, the toolbox shoul be added',10,'> to the top (default) or end of your startup path.'])
%# in = input(['> Add toolbox permanently into your startup path (highly recommended)? Y/E/N [Y]: '],'s');
%# if isempty(in), in = 'Y'; end
%# if strcmpi('Y',in)
%# instpaths{end+1,1}={['addpath ''',TBfullpath,''' -end']};
%# disp(' Adding Toolbox at the end of the startup.m file')
%# elseif strcmpi('T',in)
%# instpaths{end+1,1}={['addpath ''',TBfullpath,''' -begin']};
%# disp(' Adding Toolbox at the end of the startup.m file')
%# elseif strcmpi('E',in)
%# instpaths{end+1,1}={['addpath ''',TBfullpath,''' -end']};
%# disp(' Adding Toolbox at the top of the startup.m file')
%# end
%#
%# if strcmpi('Y',in) | strcmpi('T',in)
%# if strcmpi('Y',in) | strcmpi('E',in)
%# errcode=95.4;
%# fid=fopen(startupfile,'w');
%# if fid < 0
Expand Down

0 comments on commit a8b7490

Please sign in to comment.