projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff52ae
)
package/luarocks: improve detection of license files
author
Francois Perrad
<fperrad@gmail.com>
Wed, 14 Apr 2021 09:57:19 +0000
(11:57 +0200)
committer
Thomas Petazzoni
<thomas.petazzoni@bootlin.com>
Mon, 19 Apr 2021 20:51:43 +0000
(22:51 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/luarocks/buildroot.lua
patch
|
blob
|
history
diff --git
a/package/luarocks/buildroot.lua
b/package/luarocks/buildroot.lua
index 67dac33aa2b3172a5f6dea202313f39f9c7d169b..2d160f02b60d58c74ebab5faa625b092267acfde 100644
(file)
--- a/
package/luarocks/buildroot.lua
+++ b/
package/luarocks/buildroot.lua
@@
-380,8
+380,8
@@
function buildroot.command(args)
if #licenses == 0 then
for i = 1, #files do
local v = files[i]
- if v:match('^doc/LICENSE')
- or v:match('^doc/license')
+ if v:match('^doc
s?
/LICENSE')
+ or v:match('^doc
s?
/license')
or v:match('^doc/us/license') then
licenses[#licenses+1] = v
digest[v], err = get_digest(v)