diff options
Diffstat (limited to 'meta/classes/distutils.bbclass')
-rw-r--r-- | meta/classes/distutils.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass index e5abdd1216..1930c35292 100644 --- a/meta/classes/distutils.bbclass +++ b/meta/classes/distutils.bbclass | |||
@@ -44,7 +44,7 @@ distutils_do_install() { | |||
44 | if test -e ${D}${bindir} ; then | 44 | if test -e ${D}${bindir} ; then |
45 | for i in ${D}${bindir}/* ; do \ | 45 | for i in ${D}${bindir}/* ; do \ |
46 | if [ ${PN} != "${BPN}-native" ]; then | 46 | if [ ${PN} != "${BPN}-native" ]; then |
47 | sed -i -e s:${STAGING_BINDIR_NATIVE}/python-native/python:${bindir}/env\ python:g $i | 47 | sed -i -e s:${STAGING_BINDIR_NATIVE}/python-native/python:${USRBINPATH}/env\ python:g $i |
48 | fi | 48 | fi |
49 | sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i | 49 | sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i |
50 | done | 50 | done |
@@ -53,7 +53,7 @@ distutils_do_install() { | |||
53 | if [ -e ${D}${sbindir} ]; then | 53 | if [ -e ${D}${sbindir} ]; then |
54 | for i in ${D}${sbindir}/* ; do \ | 54 | for i in ${D}${sbindir}/* ; do \ |
55 | if [ ${PN} != "${BPN}-native" ]; then | 55 | if [ ${PN} != "${BPN}-native" ]; then |
56 | sed -i -e s:${STAGING_BINDIR_NATIVE}/python-native/python:${bindir}/env\ python:g $i | 56 | sed -i -e s:${STAGING_BINDIR_NATIVE}/python-native/python:${USRBINPATH}/env\ python:g $i |
57 | fi | 57 | fi |
58 | sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i | 58 | sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i |
59 | done | 59 | done |