diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-scons_3.0.5.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-scons_3.0.5.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-scons_3.0.5.bb b/meta/recipes-devtools/python/python3-scons_3.0.5.bb index 91e4a945e3..7fb75a627e 100644 --- a/meta/recipes-devtools/python/python3-scons_3.0.5.bb +++ b/meta/recipes-devtools/python/python3-scons_3.0.5.bb @@ -15,7 +15,7 @@ UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" inherit setuptools3 do_install_prepend() { - sed -i -e "s:/usr/bin/env python:/usr/bin/env python3:g" ${S}/script/* + sed -i -e "1s,#!.*python.*,#!${USRBINPATH}/env python3," ${S}/script/* } RDEPENDS_${PN} = "\ |