Skip to content

Commit

Permalink
Added realpath modifier to p4a_dir token
Browse files Browse the repository at this point in the history
  • Loading branch information
inclement committed Mar 27, 2014
1 parent 87d1462 commit 227441a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildozer/targets/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def install_platform(self):
if not self.buildozer.file_exists(pa_dir):
system_p4a_dir = self.buildozer.config.getdefault('app', 'android.p4a_dir')
if system_p4a_dir:
system_p4a_dir = realpath(system_p4a_dir)
cmd('ln -s {} ./python-for-android'.format(system_p4a_dir),
cwd = self.buildozer.platform_dir)
else:
Expand Down

0 comments on commit 227441a

Please sign in to comment.