ms-sbvar: add confirm_recursive_rmdir

time-shift
Houtan Bastani 2013-12-18 12:31:59 +01:00
parent 8dcb36b9e2
commit 7bc5d5c2ec
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ function delete_dir_if_exists(dirname)
% SPECIAL REQUIREMENTS % SPECIAL REQUIREMENTS
% none % none
% Copyright (C) 2011 Dynare Team % Copyright (C) 2011-2013 Dynare Team
% %
% This file is part of Dynare. % 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/>. % along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if exist(dirname, 'dir') if exist(dirname, 'dir')
rmdir(dirname,'s'); rmdir(dirname);
end end
end end