about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xxlint5
1 files changed, 4 insertions, 1 deletions
diff --git a/xlint b/xlint
index d611d4a..3ad7a5a 100755
--- a/xlint
+++ b/xlint
@@ -285,7 +285,10 @@ for argument; do
 
 	: "${LICENSE_LIST:=/usr/share/spdx/license.lst}"
 	if [ -f "${LICENSE_LIST}" ]; then
-		sed -n 's/license="\(.*\)"/\1/p' "$template" | tr , "\n" | while read -r l; do
+		sed -n 's/license="\(.*\)"/\1/p' "$template" |
+		sed 's/ WITH /,/g' |
+		tr , "\n" |
+		while read -r l; do
 			case "$l" in
 				custom:*|'Public Domain') continue ;;
 			esac