Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addpath_spotless.m is setting incorrect paths on Windows #3212

Closed
jamiesnape opened this issue Aug 22, 2016 · 1 comment
Closed

addpath_spotless.m is setting incorrect paths on Windows #3212

jamiesnape opened this issue Aug 22, 2016 · 1 comment
Assignees
Labels

Comments

@jamiesnape
Copy link
Contributor

Currently:

function addpath_spotless()
  mfiledir = fileparts(which(mfilename));
  addpath(fullfile(mfiledir,'\spotless'));
  addpath(fullfile(mfiledir,'\spotless\mex'));
  addpath(fullfile(mfiledir,'\spotless\mss'));
  addpath(fullfile(mfiledir,'\spotless\spotopt'));
  addpath(fullfile(mfiledir,'\spotless\spotopt\solvers'));
  addpath(fullfile(mfiledir,'\spotless\spotopt\util'));
  addpath(fullfile(mfiledir,'\spotless\util'));

Correct:

function addpath_spotless()
  mfiledir = fileparts(which(mfilename));
  addpath(fullfile(mfiledir,'..\..\..\externals\spotless\spotless'));
  addpath(fullfile(mfiledir,'..\..\..\externals\spotless\spotless\mex'));
  addpath(fullfile(mfiledir,'..\..\..\externals\spotless\spotless\mss'));
  addpath(fullfile(mfiledir,'..\..\..\externals\spotless\spotless\spotopt'));
  addpath(fullfile(mfiledir,'..\..\..\externals\spotless\spotless\spotopt\solvers'));
  addpath(fullfile(mfiledir,'..\..\..\externals\spotless\spotless\spotopt\util'));
  addpath(fullfile(mfiledir,'..\..\..\externals\spotless\spotless\util'));

FYI @RussTedrake.

@jamiesnape
Copy link
Contributor Author

Fixed by #3527.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants