summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/files/shell.go
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2017-10-08 22:31:13 +0000
committerrillig <rillig@pkgsrc.org>2017-10-08 22:31:13 +0000
commit9a24a132f8ace63d1d4a22d9a54472410ac5744e (patch)
treedb317ed6935bd45ab3be3677df13179747cb456f /pkgtools/pkglint/files/shell.go
parentfff254c57cd2fc6d61094891100f99b96fda7947 (diff)
downloadpkgsrc-9a24a132f8ace63d1d4a22d9a54472410ac5744e.tar.gz
Updated pkglint to 5.4.21
Changes since 5.4.20: * Removed obsolete kde3 check * Removed obsolete WindowMaker variables * Removed postgresql91 * Removed teTeX * Removed old Emacs versions 22, 23, 24 * Allow db6 * Allow c++11 in USE_LANGUAGES * New check for GNOME icon themes * Added CHECK_RELRO variables * Refactoring: new package linechecks * Refactoring: regex.Pattern
Diffstat (limited to 'pkgtools/pkglint/files/shell.go')
-rw-r--r--pkgtools/pkglint/files/shell.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/shell.go b/pkgtools/pkglint/files/shell.go
index 0668b8bbbdf..61f6aa534ee 100644
--- a/pkgtools/pkglint/files/shell.go
+++ b/pkgtools/pkglint/files/shell.go
@@ -4,6 +4,7 @@ package main
import (
"netbsd.org/pkglint/line"
+ "netbsd.org/pkglint/linechecks"
"netbsd.org/pkglint/textproc"
"netbsd.org/pkglint/trace"
"path"
@@ -596,7 +597,7 @@ func (scc *SimpleCommandChecker) checkAbsolutePathnames() {
isSubst := false
for _, arg := range scc.strcmd.Args {
if !isSubst {
- LineChecker{scc.shline.mkline}.CheckAbsolutePathname(arg)
+ linechecks.CheckAbsolutePathname(scc.shline.mkline, arg)
}
if false && isSubst && !matches(arg, `"^[\"\'].*[\"\']$`) {
scc.shline.mkline.Warnf("Substitution commands like %q should always be quoted.", arg)