From 2be59db7a306c73d06275cc8c81bfa1e1f72925d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?--=3DFurtiF=E2=84=A2=3D--?= Date: Wed, 27 Jul 2022 14:59:07 +0200 Subject: [PATCH] uses . because * get err file not found --- buildozer/target.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildozer/target.py b/buildozer/target.py index df09485b3..d94e98ca3 100644 --- a/buildozer/target.py +++ b/buildozer/target.py @@ -251,12 +251,12 @@ def install_or_update_repo(self, repo, **kwargs): if not self.buildozer.file_exists(install_dir): if custom_dir: cmd(["mkdir", "-p", install_dir]) - cmd(["cp", "-a", f"{custom_dir}/*", f"{install_dir}/"]) + cmd(["cp", "-a", f"{custom_dir}/.", f"{install_dir}/"]) else: cmd(["git", "clone", "--branch", clone_branch, clone_url], cwd=self.buildozer.platform_dir) elif self.platform_update: if custom_dir: - cmd(["cp", "-a", f"{custom_dir}/*", f"{install_dir}/"]) + cmd(["cp", "-a", f"{custom_dir}/.", f"{install_dir}/"]) else: cmd(["git", "clean", "-dxf"], cwd=install_dir) cmd(["git", "pull", "origin", clone_branch], cwd=install_dir)