mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
[PATCH] Do not install compatibility symlink for what we do not install
We sometimes do not install git-send-email nor git-http-pull; do not unconditionally create symlinks to them. Signed-off-by: Patrick Mauritz <oxygene@studentenbude.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
3b944aac3b
commit
bfb73b2ebc
|
@ -4,7 +4,9 @@ test -d "$d" || exit
|
|||
while read old new
|
||||
do
|
||||
rm -f "$d/$old"
|
||||
if [ -x "$d/$new" ]; then
|
||||
ln -s "$new" "$d/$old"
|
||||
fi
|
||||
done <<\EOF
|
||||
git-add-script git-add
|
||||
git-archimport-script git-archimport
|
||||
|
|
Loading…
Reference in a new issue