Skip to content
Snippets Groups Projects
Verified Commit 816e94e9 authored by Sébastien Villemot's avatar Sébastien Villemot
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 060c6940
Loading
......@@ -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