summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/python3_host.vars10
1 files changed, 5 insertions, 5 deletions
diff --git a/vars/python3_host.vars b/vars/python3_host.vars
index 682c0d26..8f4817c2 100644
--- a/vars/python3_host.vars
+++ b/vars/python3_host.vars
@@ -3,15 +3,15 @@
#
pkg_python3_host_install_make_post() {
- if ex_rtl_fileop test "${PKG_DESTDIR}/bin/python"; then
- ex_rtl_fileop rm "${PKG_DESTDIR}/bin/python";
+ if ex_rtl_fileop test "${PKG_DESTDIR}/bin/python3"; then
+ ex_rtl_fileop rm "${PKG_DESTDIR}/bin/python3";
fi;
- cat > "${PKG_DESTDIR}/bin/python" <<EOF
+ cat > "${PKG_DESTDIR}/bin/python3" <<EOF
#!/bin/sh
env LD_LIBRARY_PATH="${PREFIX}/lib" \
- "${PREFIX}/bin/python3" "\${@}";
+ "${PREFIX}/bin/python3.5" "\${@}";
EOF
- chmod +x "${PKG_DESTDIR}/bin/python";
+ chmod +x "${PKG_DESTDIR}/bin/python3";
};
# vim:filetype=sh