Date: Sun, 13 Aug 2017 21:07:58 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221490] ports-mgmt/portlint: Produces bogus warning "use ${VARIABLE}, instead of $(VARIABLE)" for shell code Message-ID: <bug-221490-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221490 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@FreeBSD.org Reporter: yuri@rawbw.com Flags: maintainer-feedback?(marcus@FreeBSD.org) Assignee: marcus@FreeBSD.org Created attachment 185371 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185371&action= =3Dedit 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221490-13>