diff options
-rw-r--r-- | meta/classes/distutils.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass index 552e5f3a54..a0e1f502fd 100644 --- a/meta/classes/distutils.bbclass +++ b/meta/classes/distutils.bbclass | |||
@@ -47,12 +47,14 @@ distutils_do_install() { | |||
47 | 47 | ||
48 | if test -e ${D}${bindir} ; then | 48 | if test -e ${D}${bindir} ; then |
49 | for i in ${D}${bindir}/* ; do \ | 49 | for i in ${D}${bindir}/* ; do \ |
50 | sed -i -e s:${STAGING_BINDIR_NATIVE}/python-native/python:${bindir}/env\ python:g $i | ||
50 | sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i | 51 | sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i |
51 | done | 52 | done |
52 | fi | 53 | fi |
53 | 54 | ||
54 | if test -e ${D}${sbindir}; then | 55 | if test -e ${D}${sbindir}; then |
55 | for i in ${D}${sbindir}/* ; do \ | 56 | for i in ${D}${sbindir}/* ; do \ |
57 | sed -i -e s:${STAGING_BINDIR_NATIVE}/python-native/python:${bindir}/env\ python:g $i | ||
56 | sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i | 58 | sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i |
57 | done | 59 | done |
58 | fi | 60 | fi |