Commit 035e81c1169524b82748a5b00cf15f0f7ff73bc7

Thomas de Grivel 2023-03-17T10:43:14

debug

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/rbpkg/repo.rb b/lib/rbpkg/repo.rb
index 418771e..144105d 100644
--- a/lib/rbpkg/repo.rb
+++ b/lib/rbpkg/repo.rb
@@ -473,6 +473,7 @@ class Rbpkg::Repo
             file = scan[1]
             hash = scan[2]
             path = "#{Rbpkg.prefix}/#{file}"
+            STDERR.puts "echo 'SHA256 (#{sh_quote(path)}) = #{sh_quote(hash)}' | #{Rbpkg.sha256} -c /dev/stdin"
             `echo 'SHA256 (#{sh_quote(path)}) = #{sh_quote(hash)}' | #{Rbpkg.sha256} -c /dev/stdin`
             if $?.success?
               cmd! "rm #{sh_quote(path)}"