ms-sbvar: add confirm_recursive_rmdir
parent
8dcb36b9e2
commit
7bc5d5c2ec
|
@ -11,7 +11,7 @@ function delete_dir_if_exists(dirname)
|
|||
% SPECIAL REQUIREMENTS
|
||||
% none
|
||||
|
||||
% Copyright (C) 2011 Dynare Team
|
||||
% Copyright (C) 2011-2013 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -29,6 +29,6 @@ function delete_dir_if_exists(dirname)
|
|||
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
if exist(dirname, 'dir')
|
||||
rmdir(dirname,'s');
|
||||
rmdir(dirname);
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue