mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 01:58:35 +04:00
python, python3: fix python*-package.mk
Replace calls to getvar function recently removed Signed-off-by: Nicolas Thill <nico@openwrt.org>
This commit is contained in:
@@ -33,7 +33,7 @@ define PyPackage
|
|||||||
|
|
||||||
define Package/$(1)/install
|
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" | xargs rm -f
|
||||||
@$(SH_FUNC) getvar $$(call shvar,PyPackage/$(1)/filespec) | ( \
|
@echo "$$$$$$$$$$(call shvar,PyPackage/$(1)/filespec)" | ( \
|
||||||
IFS='|'; \
|
IFS='|'; \
|
||||||
while read fop fspec fperm; do \
|
while read fop fspec fperm; do \
|
||||||
if [ "$$$$$$$$fop" = "+" ]; then \
|
if [ "$$$$$$$$fop" = "+" ]; then \
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ define Py3Package
|
|||||||
|
|
||||||
define Package/$(1)/install
|
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" | xargs rm -f
|
||||||
@$(SH_FUNC) getvar $$(call shvar,Py3Package/$(1)/filespec) | ( \
|
@echo "$$$$$$$$$$(call shvar,PyPackage/$(1)/filespec)" | ( \
|
||||||
IFS='|'; \
|
IFS='|'; \
|
||||||
while read fop fspec fperm; do \
|
while read fop fspec fperm; do \
|
||||||
if [ "$$$$$$$$fop" = "+" ]; then \
|
if [ "$$$$$$$$fop" = "+" ]; then \
|
||||||
|
|||||||
Reference in New Issue
Block a user