ms-sbvar: add missing 's' flag to rmdir

time-shift
Houtan Bastani 2014-03-18 15:02:31 +01:00
parent a459a3440b
commit fd4c71a2a4
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-2013 Dynare Team % Copyright (C) 2011-2014 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); rmdir(dirname, 's');
end end
end end