From dc2ff5964d1c4834704698b29577f074c5e577e8 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Wed, 18 Dec 2013 14:07:25 +0100
Subject: [PATCH] parallel: add local switch to confirm_recursive_rmdir(cherry
 picked from commit bbdad94d96eec4979077612ef6af16027a9f6baf)

---
 matlab/parallel/dynareParallelRmDir.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/parallel/dynareParallelRmDir.m b/matlab/parallel/dynareParallelRmDir.m
index de08a5599..d44172550 100644
--- a/matlab/parallel/dynareParallelRmDir.m
+++ b/matlab/parallel/dynareParallelRmDir.m
@@ -68,7 +68,7 @@ for indPC=1:length(Parallel),
                                         % It is necessary because the command rmdir always ask at the user to confirm your decision before
                                         % deleting a directory: this stops the computation! The Octave native function 'confirm_recursive_rmdir'
                                         % disable this mechanism.
-                val = confirm_recursive_rmdir (false);
+                val = confirm_recursive_rmdir (false, 'local');
                 [stat, mess, id] = rmdir(['\\',Parallel(indPC).ComputerName,'\',Parallel(indPC).RemoteDrive,'$\',Parallel(indPC).RemoteDirectory,'\',PRCDir],'s');
                 
             else
-- 
GitLab