diff scripts/pkg/pkg.m @ 28877:cd2178d0e43b

pkg.m,build.m: capture output of rmdir() so that error is not thrown. * pkg.m, build.m: capture output of rmdir() so that error is not thrown.
author Rik <rik@octave.org>
date Thu, 08 Oct 2020 15:31:33 -0700
parents 0fcbb0faf7de
children fc4bb4bd1d5e
line wrap: on
line diff
--- a/scripts/pkg/pkg.m	Thu Oct 08 20:41:12 2020 +0200
+++ b/scripts/pkg/pkg.m	Thu Oct 08 15:31:33 2020 -0700
@@ -571,7 +571,7 @@
       unwind_protect_cleanup
         [~] = cellfun ("unlink", local_files);
         if (exist (tmp_dir, "file"))
-          rmdir (tmp_dir, "s");
+          [~] = rmdir (tmp_dir, "s");
         endif
       end_unwind_protect