diff options
author | Yann Dirson <ydirson@altern.org> | 2010-09-15 11:27:46 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-09-21 23:03:39 -0700 |
commit | 50fc7462c48dec780900378149ac937bc41c45fa (patch) | |
tree | f7531e1e4bfe2763b55da4e50a53a431010f2a34 /recipes/git | |
parent | f20e70e0a471bd0f9de82041ec8600abccfe09a0 (diff) | |
download | openembedded-50fc7462c48dec780900378149ac937bc41c45fa.tar.gz |
git: replace remaining broken hardlinks with symlinks.
Signed-off-by: Yann Dirson <ydirson@altern.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/git')
-rw-r--r-- | recipes/git/git_1.7.0.2.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes/git/git_1.7.0.2.bb b/recipes/git/git_1.7.0.2.bb index be7a526d1c..0ca44b581c 100644 --- a/recipes/git/git_1.7.0.2.bb +++ b/recipes/git/git_1.7.0.2.bb @@ -14,14 +14,18 @@ RDEPENDS_${PN} = "perl perl-module-file-path cpio findutils sed" # Dropbear ssh needs a wrapper script, so install openssh-ssh to make it work out of the box RRECOMMENDS_${PN} = "openssh-ssh" -PR = "r7" +PR = "r8" do_install_append() { # Fix broken hardlinks for gitprog in git-receive-pack git-upload-archive ; do - rm ${D}${bindir}/$gitprog + rm ${D}${bindir}/$gitprog ln -sf ${bindir}/git ${D}${bindir}/$gitprog done + for gitprog in git-cvsserver git-shell git-upload-pack ; do + rm ${D}${libexecdir}/git-core/$gitprog + ln -sf ${bindir}/$gitprog ${D}${libexecdir}/git-core/$gitprog + done rm ${D}${libexecdir}/git-core/git && ln -sf ${bindir}/git ${D}${libexecdir}/git-core/git } |