about summary refs log tree commit diff
path: root/xlint
diff options
context:
space:
mode:
Diffstat (limited to 'xlint')
-rwxr-xr-xxlint3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlint b/xlint
index d9b4b85..5e6f1f4 100755
--- a/xlint
+++ b/xlint
@@ -420,7 +420,8 @@ for argument; do
 	: "${LICENSE_LIST:=/usr/share/spdx/license.lst}"
 	if [ -f "${LICENSE_LIST}" ]; then
 		sed -n 's/license="\(.*\)"/\1/p' "$template" |
-		sed 's/ WITH /,/g' |
+		sed -E 's/ (WITH|OR|AND) /,/g' |
+		sed 's/[()]//g' |
 		tr , "\n" |
 		while read -r l; do
 			case "$l" in