From 2c33353445e613e0bc366c0f01f956d05c18698b Mon Sep 17 00:00:00 2001 From: Iskander Date: Sun, 28 Feb 2016 16:09:13 +0300 Subject: [PATCH] removed ':' removal from win-paths --- mpmInstallDir.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mpmInstallDir.m b/mpmInstallDir.m index c15161f..12b6efb 100644 --- a/mpmInstallDir.m +++ b/mpmInstallDir.m @@ -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