From 7f4d32a54b868b2413caefb55111625ca1d410b9 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 23 Jun 2022 14:29:12 -0400 Subject: xlint: fix lints broken by extra sed bug introduced in 8c0e21060fd0abdb16c10d62a56ead0a4da75062 --- xlint | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'xlint') diff --git a/xlint b/xlint index 0585960..d94a507 100755 --- a/xlint +++ b/xlint @@ -445,9 +445,8 @@ for argument; do scan 'homepage=.*\$' "homepage should not use variables" scan 'maintainer=(?!.*<.*@.*>).*' "maintainer needs email address" scan 'maintainer=.*<.*@users.noreply.github.com>.*' "maintainer needs a valid address for sending mail" - scan '^(?!\s*('"$variables"'))[^\s=-]+=' \ - "custom variables should use _ prefix: \2" - scan '^[^ =]*=(""|''|)$' "variable set to empty string: \2" + scan '^(?!\s*('"$variables"'))[^\s=-]+=' "custom variables should use _ prefix: \\\2" + scan '^[^ =]*=(""|''|)$' "variable set to empty string: \\\2" scan '^(.*)-docs_package().*' 'use -doc subpackage for documentation' scan 'distfiles=.*github.com.*/archive/.*\.zip[\"]?$' 'Use the distfile .tar.gz instead of .zip' scan 'distfiles=.*downloads\.sourceforge\.net' 'use $SOURCEFORGE_SITE' -- cgit 1.4.1