aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2020-04-13 11:20:15 +0800
committerHongxu Jia <hongxu.jia@windriver.com>2020-04-13 11:20:15 +0800
commite560f3db2b6a3a263d4129c75d58b48ce09e191c (patch)
tree5b5ce2af616a85b63a2aad477517a5fe758fd7c8
parent8b22437b2540f8eda2d6528eb3e67d714154791d (diff)
downloadmeta-tensorflow-e560f3db2b6a3a263d4129c75d58b48ce09e191c.tar.gz
meta-tensorflow-e560f3db2b6a3a263d4129c75d58b48ce09e191c.tar.bz2
meta-tensorflow-e560f3db2b6a3a263d4129c75d58b48ce09e191c.zip
tensorflow: improve shebang replacement
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-rw-r--r--recipes-framework/tensorflow/tensorflow_1.13.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-framework/tensorflow/tensorflow_1.13.0.bb b/recipes-framework/tensorflow/tensorflow_1.13.0.bb
index 9dd61af..9b05c70 100644
--- a/recipes-framework/tensorflow/tensorflow_1.13.0.bb
+++ b/recipes-framework/tensorflow/tensorflow_1.13.0.bb
@@ -147,7 +147,7 @@ do_install() {
(
cd ${D}${PYTHON_SITEPACKAGES_DIR}/bin;
for app in `ls`; do
- sed -i "s:^'''exec' ${STAGING_BINDIR_NATIVE}/nativepython3 :'''exec' /usr/bin/python3 :g" $app
+ sed -i "s:${STAGING_BINDIR_NATIVE}/nativepython3:/usr/bin/python3:g" $app
mv $app ${D}${sbindir}
done