diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2025-06-25 23:25:09 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-06-25 09:43:59 -0700 |
| commit | 3570fba943e36b7c4c6bbbc60454a01dde73ef5e (patch) | |
| tree | 8b5cac215e15c4de723daf459b574c3f83ea33f0 /contrib/credential/netrc/git-credential-netrc.perl | |
| parent | cb3b40381e1d5ee32dde96521ad7cfd68eb308a6 (diff) | |
| download | git-3570fba943e36b7c4c6bbbc60454a01dde73ef5e.tar.gz | |
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>
Diffstat (limited to 'contrib/credential/netrc/git-credential-netrc.perl')
| -rwxr-xr-x | contrib/credential/netrc/git-credential-netrc.perl | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
