Commit d3e66294b0f919d32391ad8d0500b2a687c78975

Thomas de Grivel 2023-02-21T10:35:27

build, clean-build

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/rbpkg/repo.rb b/lib/rbpkg/repo.rb
index 75147ed..fa41aad 100644
--- a/lib/rbpkg/repo.rb
+++ b/lib/rbpkg/repo.rb
@@ -38,7 +38,7 @@ class Rbpkg::Repo
       cmd! "cd #{sh_quote(src_dir)} && make clean"
     end
     if File.directory?(obj_dir)
-      FileUtils.rm_rf(obj_dir)
+      cmd! "rm -rf #{sh_quote(obj_dir)}"
     end
     tag_remove("build-done") if tag_present?("build-done")
   end