diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2016-06-27 15:37:08 +0300 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2016-06-27 15:38:24 +0300 |
| commit | 2dee0cf07018e14b296a51a1a23f4054f4ae7cd5 (patch) | |
| tree | 9c854d79edb8b8b7c7df586fdcb9cb7cc6610202 /lang/python3/files/python3-package.mk | |
| parent | a9c7735c753db66d9afdea4517bdefb9430573bb (diff) | |
python3: do not allow packaging of windows exe files
Thanks to @ryzhovau for reporting.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python3/files/python3-package.mk')
| -rw-r--r-- | lang/python3/files/python3-package.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python3/files/python3-package.mk b/lang/python3/files/python3-package.mk index 72c499502..bae149c48 100644 --- a/lang/python3/files/python3-package.mk +++ b/lang/python3/files/python3-package.mk @@ -62,7 +62,7 @@ define Py3Package $(call shexport,Py3Package/$(1)/filespec) define Package/$(1)/install - find $(PKG_INSTALL_DIR) -name "*\.pyc" -o -name "*\.pyo" | xargs rm -f + find $(PKG_INSTALL_DIR) -name "*\.pyc" -o -name "*\.pyo" -o -name "*\.exe" | xargs rm -f @echo "$$$$$$$$$$(call shvar,Py3Package/$(1)/filespec)" | ( \ IFS='|'; \ while read fop fspec fperm; do \ @@ -117,6 +117,6 @@ define Build/Compile/Py3Mod , \ ./setup.py $(2) \ ) - find $(PKG_INSTALL_DIR) -name "*\.pyc" -o -name "*\.pyo" | xargs rm -f + find $(PKG_INSTALL_DIR) -name "*\.pyc" -o -name "*\.pyo" -o -name "*\.exe" | xargs rm -f endef |
