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:
parent
84d39fefaf
commit
cad9bdbc85
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ define PyPackage
|
|||
|
||||
define Package/$(1)/install
|
||||
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='|'; \
|
||||
while read fop fspec fperm; do \
|
||||
if [ "$$$$$$$$fop" = "+" ]; then \
|
||||
|
|
|
@ -33,7 +33,7 @@ define Py3Package
|
|||
|
||||
define Package/$(1)/install
|
||||
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='|'; \
|
||||
while read fop fspec fperm; do \
|
||||
if [ "$$$$$$$$fop" = "+" ]; then \
|
||||
|
|
Loading…
Reference in a new issue