summaryrefslogtreecommitdiff
path: root/lang/python/python3/files/python3-package-pip.mk
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2019-02-04 16:36:25 +0200
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2019-08-08 13:38:36 +0200
commit421c58a946043fe888903c17dd81d73bd5ff0cca (patch)
tree7cb8528ed78abe27e3afaf701427d1bcc1adea13 /lang/python/python3/files/python3-package-pip.mk
parent243f921ae1bd662a62de43003476956e7b9a3d0b (diff)
python,python3: move shebang handle in install script
This extends the Python[3] shebang fixup to all packages. Only Python scripts in `/usr/bin` will be handled at the moment. Later it may make sense to also cover executables in `/bin`, though typically Python executables shouldn't be placed there. Previously the shebang handling was only done for python[3]-pip & python[3]-setuptools. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python3/files/python3-package-pip.mk')
-rw-r--r--lang/python/python3/files/python3-package-pip.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/lang/python/python3/files/python3-package-pip.mk b/lang/python/python3/files/python3-package-pip.mk
index 1aaeaf2ee..0f8476c18 100644
--- a/lang/python/python3/files/python3-package-pip.mk
+++ b/lang/python/python3/files/python3-package-pip.mk
@@ -14,8 +14,6 @@ endef
define Package/python3-pip/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/python$(PYTHON3_VERSION)/site-packages
- # Adjust shebang to proper python location on target
- sed "1s@.*@#\!/usr/bin/python$(PYTHON3_VERSION)@" -i $(PKG_BUILD_DIR)/install-pip/bin/*
$(CP) $(PKG_BUILD_DIR)/install-pip/bin/pip3* $(1)/usr/bin
$(CP) \
$(PKG_BUILD_DIR)/install-pip/lib/python$(PYTHON3_VERSION)/site-packages/pip \