git: aa4988bb569f - main - Mk/Uses/shebangfix.mk: Add "/bin/env ${lang}" pattern to ${lang}_OLD_CMD

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 04:27:56 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aa4988bb569fd62d297e0d1475d9552c3fec1d3e

commit aa4988bb569fd62d297e0d1475d9552c3fec1d3e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-25 04:17:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-25 04:23:01 +0000

    Mk/Uses/shebangfix.mk: Add "/bin/env ${lang}" pattern to ${lang}_OLD_CMD
---
 Mk/Uses/shebangfix.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Mk/Uses/shebangfix.mk b/Mk/Uses/shebangfix.mk
index 20dba5279964..9d050cbbcfcc 100644
--- a/Mk/Uses/shebangfix.mk
+++ b/Mk/Uses/shebangfix.mk
@@ -57,6 +57,7 @@ python_CMD?=	${PYTHON_CMD}
 # been set already above with ?=.
 .  for lang in ${SHEBANG_LANG}
 ${lang}_CMD?= ${LOCALBASE}/bin/${lang}
+${lang}_OLD_CMD+= "/bin/env ${lang}"
 ${lang}_OLD_CMD+= "/usr/bin/env ${lang}"
 ${lang}_OLD_CMD+= /bin/${lang}
 ${lang}_OLD_CMD+= /usr/bin/${lang}