Browse Source

python, python3: fix python*-package.mk

Replace calls to getvar function recently removed

Signed-off-by: Nicolas Thill <nico@openwrt.org>
lilik-openwrt-22.03
Nicolas Thill 10 years ago
parent
commit
cad9bdbc85
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      lang/python/files/python-package.mk
  2. +1
    -1
      lang/python3/files/python3-package.mk

+ 1
- 1
lang/python/files/python-package.mk View File

@ -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 \


+ 1
- 1
lang/python3/files/python3-package.mk View File

@ -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 \


Loading…
Cancel
Save