From: D. Ben Knoble Date: Tue, 4 Nov 2025 18:14:57 +0000 (-0500) Subject: perl: also mark git-contacts executable X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38419bdd45e6fb872383f151b337f030ed30cbb4;p=thirdparty%2Fgit.git perl: also mark git-contacts executable When installing git-contacts with Meson via -Dcontrib=contacts, the default Perl generation fails to mark it executable. As a result, "git contacts" reports "'contacts' is not a git command." Unlike generate-script.sh, we aren't testing the basename here; so, glob the script name in the case arm to match wherever the input comes from. Signed-off-by: D. Ben Knoble Signed-off-by: Junio C Hamano --- diff --git a/generate-perl.sh b/generate-perl.sh index 65f122ebfc..796d835932 100755 --- a/generate-perl.sh +++ b/generate-perl.sh @@ -30,7 +30,7 @@ sed -e '1{' \ "$INPUT" >"$OUTPUT" case "$INPUT" in -*.perl) +*.perl|*git-contacts) chmod a+x "$OUTPUT";; *) ;;