buildozer has no attribute build_dir

Before builddir resulted in an Errormessage. Now it works
This commit is contained in:
Nico Lutz 2016-05-16 10:11:06 +02:00
parent 2a3fe470d2
commit e07728f7f0

View file

@ -161,7 +161,7 @@ class TargetOSX(Target):
self.buildozer.info('{}.dmg created'.format(package_name))
self.buildozer.info('moving {}.dmg to bin.'.format(package_name))
binpath = join(
self.buildozer.builddir or
self.buildozer.build_dir or
dirname(abspath(self.buildozer.specfilename)), 'bin')
check_output(
('cp', '-a', package_name+'.dmg', binpath),