Skip to content

Commit

Permalink
uses . because * get err file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Furtif committed Jul 27, 2022
1 parent 66bfd2b commit 2be59db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildozer/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2be59db

Please sign in to comment.