@leroysheep / LeeRoySheep / commits / 3570fba943

contrib: use a more portable shebang for git-credential-netrc

While the installed scripts have their Perl shebang set to PERL_PATH, it is nevertheless useful to be able to run the uninstalled script for manual tests while developing. This change makes the shebang more portable by having the perl command looked from PATH instead of from a fixed location. Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Maxim Cournoyer committed Jun 25, 2025 at 23:25 UTC 3570fba943e36b7c4c6bbbc60454a01dde73ef5e
1 file changed +1 -1
contrib/credential/netrc/git-credential-netrc.perl
+1 -1
index 9fb998ae09..514f68d00b 100755 --- a/contrib/credential/netrc/git-credential-netrc.perl +++ b/contrib/credential/netrc/git-credential-netrc.perl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings;