diff options
author | Patrick Mauritz <oxygene@studentenbude.ath.cx> | 2005-09-19 14:11:19 (GMT) |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-20 00:35:49 (GMT) |
commit | bfb73b2ebc2d50c8e14133ad15137604fc54563d (patch) | |
tree | 08628460851bb13fd65d61609003d5a96164f767 | |
parent | 3b944aac3b88773d1fae4352706915aad21f3757 (diff) | |
download | git-bfb73b2ebc2d50c8e14133ad15137604fc54563d.zip git-bfb73b2ebc2d50c8e14133ad15137604fc54563d.tar.gz git-bfb73b2ebc2d50c8e14133ad15137604fc54563d.tar.bz2 |
[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 ada33fb..ad3285b 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 |