Commit ab744732 authored by Leo's avatar Leo

alint: fix checking of empty variables

parent 7c57b808
......@@ -188,7 +188,7 @@ for apkbuild; do
scan '\|\| return 1' "|| return 1 is not required as set -e is used"
scan '^pkgname="[^$]+"' "pkgname must not be quoted"
scan '^pkgver="[^$]+"' "pkgver must not be quoted"
scan '^[^=]*=(|""|''|)$' "variable set to empty string: \2"
scan '^[ =]*=(|""|''|)$' "variable set to empty string: \2"
scan '^(?!\s*^('"$variables"'))[^\s=-]+=' \
"prefix custom variable with _: \2"
scan '^ ' "indent with tabs"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment