Added realpath modifier to p4a_dir token

This commit is contained in:
Alexander Taylor 2014-03-27 22:37:23 +00:00
parent 87d1462b9a
commit 227441a3d3

View file

@ -303,6 +303,7 @@ class TargetAndroid(Target):
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: