CheckPath: another fix
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3054 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
9540db6bf4
commit
05773e5edf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue