Skip to content

Commit

Permalink
Merge pull request #16 from sin-mike/master
Browse files Browse the repository at this point in the history
':' removal for win-paths fix
  • Loading branch information
mobeets committed Feb 29, 2016
2 parents cf4342e + 2c33353 commit aa7d85a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mpmInstallDir.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@
if ~exist('MPM_INSTALL_DIR', 'var')
error('MPM_INSTALL_DIR was not defined in config.m');
end
MPM_INSTALL_DIR = strrep(MPM_INSTALL_DIR, ':', '');
if ispc
% do nothing
else
MPM_INSTALL_DIR = strrep(MPM_INSTALL_DIR, ':', '');
end
end

0 comments on commit aa7d85a

Please sign in to comment.