diff options
author | Patrick Mauritz <oxygene@studentenbude.ath.cx> | 2005-09-19 16:11:19 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-19 17:35:49 -0700 |
commit | bfb73b2ebc2d50c8e14133ad15137604fc54563d (patch) | |
tree | 08628460851bb13fd65d61609003d5a96164f767 | |
parent | [PATCH] Remove total confusion from "git checkout" (diff) | |
download | tgif-bfb73b2ebc2d50c8e14133ad15137604fc54563d.tar.xz |
[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>
-rwxr-xr-x | cmd-rename.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-rename.sh b/cmd-rename.sh index ada33fb51d..ad3285b797 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 |