diff options
Diffstat (limited to 'xlint')
-rwxr-xr-x | xlint | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlint b/xlint index 7c281e2..2ec7d31 100755 --- a/xlint +++ b/xlint @@ -466,8 +466,8 @@ for argument; do scan '^\t*[^ ]*\(\)(| *){' 'use one space after function parenthesis' scan '^\t*[^ ]*\(\)$' 'do not use a newline before function opening brace' scan 'python_version=.*#[[:space:]]*unverified' 'verify python_version and remove "#unverified"' - pkgname=$(grep -Po "^pkgname=\K.*" "$template") - version=$(grep -Po "^version=\K.*" "$template") + pkgname=$(grep -Po "^pkgname=\K.*" "$template" | once) + version=$(grep -Po "^version=\K.*" "$template" | once) scan "distfiles=.*\Q$version\E" 'use ${version} in distfiles instead' scan "system_accounts=.*\b(?!($old_accounts))[a-zA-Z]" 'new accounts should be prefixed with underscore' variables_order |