CheckPath: another fix

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3054 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
sebastien 2009-10-20 12:57:22 +00:00
parent 9540db6bf4
commit 05773e5edf
1 changed files with 3 additions and 3 deletions

View File

@ -32,13 +32,13 @@ global M_
DirectoryName = [ M_.dname '/' type ];
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)
mkdir('.', M_.dname);
end
if ~isdir(DirectoryName)
% Make sure there isn't a file with the same name
delete(M_.dname)
% Make sure there isn't a file with the same name, see trac ticket #47
delete(DirectoryName)
mkdir('.',DirectoryName);
end