All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/luarocks: use two spaces indentation in hash file
@ 2022-09-11 16:25 Francois Perrad
  2022-09-11 18:16 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2022-09-11 16:25 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/luarocks/buildroot.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/luarocks/buildroot.lua b/package/luarocks/buildroot.lua
index 2d160f02b..3c044d89b 100644
--- a/package/luarocks/buildroot.lua
+++ b/package/luarocks/buildroot.lua
@@ -265,10 +265,10 @@ local function generate_hash (rockspec, lcname, rock_file, licenses, digest)
    local f = assert(io.open(fname, 'w'))
    util.printout('write ' .. fname)
    f:write('# computed by luarocks/buildroot\n')
-   f:write('sha256 ' .. digest[rock_file] .. '  ' .. rock_file .. '\n')
+   f:write('sha256  ' .. digest[rock_file] .. '  ' .. rock_file .. '\n')
    for i = 1, #licenses do
       local file = licenses[i]
-      f:write('sha256 ' .. digest[file] .. '  ' .. subdir .. '/' .. file .. '\n')
+      f:write('sha256  ' .. digest[file] .. '  ' .. subdir .. '/' .. file .. '\n')
    end
    f:close()
 end
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-11 18:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-11 16:25 [Buildroot] [PATCH] package/luarocks: use two spaces indentation in hash file Francois Perrad
2022-09-11 18:16 ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.