comparison 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
comparison
equal deleted inserted replaced
28876:fb4477c3d399 28877:cd2178d0e43b
569 global_list, global_install); 569 global_list, global_install);
570 570
571 unwind_protect_cleanup 571 unwind_protect_cleanup
572 [~] = cellfun ("unlink", local_files); 572 [~] = cellfun ("unlink", local_files);
573 if (exist (tmp_dir, "file")) 573 if (exist (tmp_dir, "file"))
574 rmdir (tmp_dir, "s"); 574 [~] = rmdir (tmp_dir, "s");
575 endif 575 endif
576 end_unwind_protect 576 end_unwind_protect
577 577
578 case "uninstall" 578 case "uninstall"
579 if (isempty (files)) 579 if (isempty (files))