[Bug 221490] ports-mgmt/portlint: Produces bogus warning "use ${VARIABLE}, instead of $(VARIABLE)" for shell code

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 13 21:07:59 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221490

            Bug ID: 221490
           Summary: ports-mgmt/portlint: Produces bogus warning "use
                    ${VARIABLE}, instead of $(VARIABLE)" for shell code
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus at FreeBSD.org
          Reporter: yuri at rawbw.com
             Flags: maintainer-feedback?(marcus at FreeBSD.org)
          Assignee: marcus at FreeBSD.org

Created attachment 185371
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185371&action=edit
Makefile (testcase)

> # portlint -A
> WARN: Makefile: [32]: use ${VARIABLE}, instead of $(VARIABLE).

- This code is for shell, so it is better to use the latter form. IMO, shell
(with $$ prefix) variables should use round braces.
Please also fix the line number of such warnings, it's off by one.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list