Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2023 18:42:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275869] Mk/Scripts/qa.sh: "#! /usr/bin/false" is a valid shebang
Message-ID:  <bug-275869-7788-qNzfdAvUDn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275869-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275869-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275869

--- Comment #2 from Thierry Thomas <thierry@FreeBSD.org> ---
This is an old habit in some places: it means that the script must be sourc=
ed,
not run, and if someone wants to run it, it would exit with a bad return co=
de.

Note: this is not for my own scripts, but in a new port that I am preparing=
. Of
course, I could patch it, but why patch a legit thing, if upstream is doing=
 it
this way?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275869-7788-qNzfdAvUDn>