summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3b944aa)
raw | patch | inline | side by side (parent: 3b944aa)
author | Patrick Mauritz <oxygene@studentenbude.ath.cx> | |
Mon, 19 Sep 2005 14:11:19 +0000 (16:11 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 20 Sep 2005 00:35:49 +0000 (17:35 -0700) |
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>
unconditionally create symlinks to them.
Signed-off-by: Patrick Mauritz <oxygene@studentenbude.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
cmd-rename.sh | patch | blob | history |
diff --git a/cmd-rename.sh b/cmd-rename.sh
index ada33fb51d13999319f438db3f8437713330a9a3..ad3285b7977b7dd1a7f152652004b2731e75b8cb 100755 (executable)
--- a/cmd-rename.sh
+++ b/cmd-rename.sh
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