Allow round brackets in the license variable
This commit is contained in:
parent
71d9d5233b
commit
2162348a9a
|
@ -896,7 +896,7 @@ check_maintainer() {
|
||||||
check_license() {
|
check_license() {
|
||||||
local ret=0
|
local ret=0
|
||||||
local license_list=/usr/share/spdx/license.lst
|
local license_list=/usr/share/spdx/license.lst
|
||||||
local exclude="AND OR WITH"
|
local exclude="AND OR WITH ( )"
|
||||||
if options_has "!spdx" || ! [ -f "$license_list" ]; then
|
if options_has "!spdx" || ! [ -f "$license_list" ]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue