Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mauritz <oxygene@studentenbude.ath.cx>2005-09-19 18:11:19 +0400
committerJunio C Hamano <junkio@cox.net>2005-09-20 04:35:49 +0400
commitbfb73b2ebc2d50c8e14133ad15137604fc54563d (patch)
tree08628460851bb13fd65d61609003d5a96164f767 /cmd-rename.sh
parent3b944aac3b88773d1fae4352706915aad21f3757 (diff)
[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>
Diffstat (limited to 'cmd-rename.sh')
-rwxr-xr-xcmd-rename.sh2
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