Browse Source

python,python3: fix goof with multiline command break

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 8 years ago
parent
commit
17da988645
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      lang/python/files/python-package.mk
  2. +2
    -2
      lang/python3/files/python3-package.mk

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

@ -44,8 +44,8 @@ define PyPackage
ifndef PyPackage/$(1)/install
define PyPackage/$(1)/install
if [ -d $(PKG_INSTALL_DIR)/usr/bin ]; then \
$(INSTALL_DIR) $$(1)/usr/bin \
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $$(1)/usr/bin/
$(INSTALL_DIR) $$(1)/usr/bin ; \
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $$(1)/usr/bin/ ; \
fi
endef
endif


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

@ -44,8 +44,8 @@ define Py3Package
ifndef Py3Package/$(1)/install
define Py3Package/$(1)/install
if [ -d $(PKG_INSTALL_DIR)/usr/bin ]; then \
$(INSTALL_DIR) $$(1)/usr/bin \
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $$(1)/usr/bin/
$(INSTALL_DIR) $$(1)/usr/bin ; \
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $$(1)/usr/bin/ ; \
fi
endef
endif


Loading…
Cancel
Save