[oe-commits] Paul Menzel : lightmediascanner_0.4.1.0: Use `${S}` instead of `${WORKDIR}/ ${PN}-${PV}`

git version control git at git.openembedded.org
Fri Aug 19 13:15:30 UTC 2011


Module: openembedded.git
Branch: master
Commit: 41119f8cb468eac83d95a432cfbed0e6725c2f22
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=41119f8cb468eac83d95a432cfbed0e6725c2f22

Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Fri Aug 19 13:36:51 2011 +0200

lightmediascanner_0.4.1.0: Use `${S}` instead of `${WORKDIR}/${PN}-${PV}`

`${S}` is more portable because `${WORKDIR}/${PN}-${PV}` is not valid for sources from a repository like Git. There it is often `git`.

Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>

---

 .../lightmediascanner/lightmediascanner_0.4.1.0.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/lightmediascanner/lightmediascanner_0.4.1.0.bb b/recipes/lightmediascanner/lightmediascanner_0.4.1.0.bb
index f1f8219..78f856b 100644
--- a/recipes/lightmediascanner/lightmediascanner_0.4.1.0.bb
+++ b/recipes/lightmediascanner/lightmediascanner_0.4.1.0.bb
@@ -20,7 +20,7 @@ do_configure_prepend() {
 
 do_install_append() {
     install -d ${D}/${bindir}/
-    install -m 755 ${WORKDIR}/${PN}-${PV}/src/bin/.libs/test  ${D}/${bindir}/test-lms
+    install -m 755 ${S}/src/bin/.libs/test  ${D}/${bindir}/test-lms
 }
 
 PACKAGES =+ "${PN}-test"





More information about the Openembedded-commits mailing list