summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/files/shell.go
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2019-06-10 19:51:57 +0000
committerrillig <rillig@pkgsrc.org>2019-06-10 19:51:57 +0000
commit6ab2d2ae75dcf350f5c5141df5defdc08886eb6a (patch)
tree423c8fed1e4e3c2693e586dae58a21c6838b3da0 /pkgtools/pkglint/files/shell.go
parentc48e774da2346fd4050a67c8df1471772e09f8a7 (diff)
downloadpkgsrc-6ab2d2ae75dcf350f5c5141df5defdc08886eb6a.tar.gz
pkgtools/pkglint: updated to 5.7.13
Changes since 5.7.12: * Fixed a warning in the variable permissions that previously said "this variable should not be used at load time in this file, it would be ok in .", with an empty list of alternative files. * Lots of refactoring and new tests.
Diffstat (limited to 'pkgtools/pkglint/files/shell.go')
-rw-r--r--pkgtools/pkglint/files/shell.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/shell.go b/pkgtools/pkglint/files/shell.go
index 5a9ffa0c6b0..905546ec992 100644
--- a/pkgtools/pkglint/files/shell.go
+++ b/pkgtools/pkglint/files/shell.go
@@ -1020,7 +1020,7 @@ func (ck *ShellLineChecker) checkInstallCommand(shellcmd string) {
defer trace.Call0()()
}
- if ck.MkLines == nil || !matches(ck.MkLines.target, `^(?:pre|do|post)-install$`) {
+ if !matches(ck.MkLines.target, `^(?:pre|do|post)-install$`) {
return
}