Skip to content

Commit

Permalink
Update one reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian-O committed Sep 10, 2023
1 parent 9b74d60 commit 3586a6f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions buildozer/targets/osx.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,11 @@ def build_package(self):
cwd=cwd)
self.logger.info('{}.dmg created'.format(package_name))
self.logger.info('moving {}.dmg to bin.'.format(package_name))
binpath = join(
self.buildozer.user_build_dir or
dirname(abspath(self.buildozer.specfilename)), 'bin')
# TODO: Should this just be self.buildozer.paths.bin_path?
binpath = (
self.buildozer.paths.buildozer_path / "bin"
if self.buildozer.paths.build_dir_is_user_provided
else self.buildozer.paths.bin_path)
buildops.file_copytree(
join(cwd, package_name + '.dmg'),
binpath)
Expand Down

0 comments on commit 3586a6f

Please sign in to comment.