Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Leo
atools
Commits
ab744732
Commit
ab744732
authored
May 12, 2019
by
Leo
Browse files
alint: fix checking of empty variables
parent
7c57b808
Changes
1
Show whitespace changes
Inline
Side-by-side
alint
View file @
ab744732
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment