Skip to content
Snippets Groups Projects
Verified Commit e43dedb3 authored by Sébastien Villemot's avatar Sébastien Villemot Committed by Stéphane Adjemian
Browse files

Octave fix: do not change the global recursive delete confirmation setting

Only change the setting locally, as is done in isolder.m and
parallel/dynareParallelRmDir.m.
parent 107727c9
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ function delete_dir_if_exists(dirname)
% SPECIAL REQUIREMENTS
% none
% Copyright © 2011-2016 Dynare Team
% Copyright © 2011-2023 Dynare Team
%
% This file is part of Dynare.
%
......@@ -29,7 +29,7 @@ function delete_dir_if_exists(dirname)
% along with Dynare. If not, see <https://www.gnu.org/licenses/>.
if isoctave
confirm_recursive_rmdir(false)
confirm_recursive_rmdir(false, 'local')
end
if exist(dirname, 'dir')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment