Skip to content

Commit 38419bd

Browse files
benknoblegitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7f278e9 commit 38419bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-perl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ sed -e '1{' \
3030
"$INPUT" >"$OUTPUT"
3131

3232
case "$INPUT" in
33-
*.perl)
33+
*.perl|*git-contacts)
3434
chmod a+x "$OUTPUT";;
3535
*)
3636
;;

0 commit comments

Comments
 (0)