From: Patrick Mauritz Date: Mon, 19 Sep 2005 14:11:19 +0000 (+0200) Subject: [PATCH] Do not install compatibility symlink for what we do not install X-Git-Tag: v0.99.7a~6 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=bfb73b2ebc2d50c8e14133ad15137604fc54563d;p=git.git [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 Signed-off-by: Junio C Hamano --- diff --git a/cmd-rename.sh b/cmd-rename.sh index ada33fb5..ad3285b7 100755 --- a/cmd-rename.sh +++ b/cmd-rename.sh @@ -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