Skip to content

Commit

Permalink
[PATCH] Do not install compatibility symlink for what we do not install
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Patrick Mauritz authored and Junio C Hamano committed Sep 20, 2005
1 parent 3b944aa commit bfb73b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd-rename.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfb73b2

Please sign in to comment.