Browse Source

package/luarocks: use two spaces indentation in hash file

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Francois Perrad 2 years ago
parent
commit
4ac4aa795a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package/luarocks/buildroot.lua

+ 2 - 2
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