From 91314724293efd9f06ab1da56fd19d029dcdef7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Wed, 7 Oct 2015 18:13:44 +0200 Subject: [PATCH] Do not ask for confirmation when deleting a non empty directory (Octave) --- matlab/isolder.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/matlab/isolder.m b/matlab/isolder.m index 2078b7bc6..091455ad0 100644 --- a/matlab/isolder.m +++ b/matlab/isolder.m @@ -85,6 +85,9 @@ end %$ system('touch e.m') %$ t(3) = isequal(isolder('e.m'), false); %$ cd .. +%$ if isoctave() +%$ confirm_recursive_rmdir(false, 'local'); +%$ end %$ rmdir('toto','s'); %$ T = all(t); %@eof:1