summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xxlint1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlint b/xlint
index dea7eae..85bf5f4 100755
--- a/xlint
+++ b/xlint
@@ -94,4 +94,5 @@ for template; do
 	scan 'maintainer=(?!.*<.*@.*>).*' "maintainer needs email address"
 	scan '^(?!\s*('"$(echo -n "$variables" | tr '\n' '|')"'))[^\s=-]+=' \
 		"custom variables should use _ prefix: \2" -1
+	scan '^[^ =]*=(""|''|)$' "variable set to empty string: \2" -1
 done