Skip to content
Snippets Groups Projects
Commit 05773e5e authored by sebastien's avatar sebastien
Browse files

CheckPath: another fix

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3054 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 9540db6b
No related branches found
No related tags found
No related merge requests found
...@@ -32,13 +32,13 @@ global M_ ...@@ -32,13 +32,13 @@ global M_
DirectoryName = [ M_.dname '/' type ]; DirectoryName = [ M_.dname '/' type ];
if ~isdir(M_.dname) if ~isdir(M_.dname)
% Make sure there isn't a file with the same name % Make sure there isn't a file with the same name, see trac ticket #47
delete(M_.dname) delete(M_.dname)
mkdir('.', M_.dname); mkdir('.', M_.dname);
end end
if ~isdir(DirectoryName) if ~isdir(DirectoryName)
% Make sure there isn't a file with the same name % Make sure there isn't a file with the same name, see trac ticket #47
delete(M_.dname) delete(DirectoryName)
mkdir('.',DirectoryName); mkdir('.',DirectoryName);
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment