[Bug 275869] Mk/Scripts/qa.sh: "#! /usr/bin/false" is a valid shebang

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Dec 2023 17:50:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275869

            Bug ID: 275869
           Summary: Mk/Scripts/qa.sh: "#! /usr/bin/false" is a valid
                    shebang
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: thierry@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

Created attachment 247186
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247186&action=edit
Adding /usr/bin/false to the list of valid shebangs

"#! /usr/bin/false" produces an error: invalid shebang.
It should be accepted, and the attached patch adds it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.