Merge pull request #79769 from virusdave/dnicponski/scratch/make_git_gui_work_on_modern_mac

git: Fix git-gui to work on Catalina
This commit is contained in:
Daiderd Jordan 2020-02-19 20:25:41 +01:00 committed by GitHub
commit af1fffab5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -234,6 +234,7 @@ stdenv.mkDerivation {
for prog in bin/gitk libexec/git-core/{git-gui,git-citool,git-gui--askpass}; do
sed -i -e "s|exec 'wish'|exec '${tk}/bin/wish'|g" \
-e "s|exec wish|exec '${tk}/bin/wish'|g" \
-e "s|exec \"[^\"]*/MacOS/Wish\"|exec '${tk}/bin/wish'|g" \
"$out/$prog"
done
ln -s $out/share/git/contrib/completion/git-completion.bash $out/share/bash-completion/completions/gitk