From: Maxim Cournoyer Date: Tue, 24 Jun 2025 01:48:55 +0000 (+0900) Subject: contrib: use a more portable shebang for git-credential-netrc X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c614dad51f322cff7f3d5cf4562bff222dc588ce;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/contrib/credential/netrc/git-credential-netrc.perl b/contrib/credential/netrc/git-credential-netrc.perl 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;