Quote --storage-dir value
Command will fail if the directory contains whitespace
This commit is contained in:
parent
94691c0138
commit
59ae01db21
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class TargetAndroidNew(TargetAndroid):
|
|||
'app', 'p4a.bootstrap', 'sdl2')
|
||||
self.p4a_apk_cmd += self._p4a_bootstrap
|
||||
color = 'always' if USE_COLOR else 'never'
|
||||
self.extra_p4a_args = ' --color={} --storage-dir={}'.format(
|
||||
self.extra_p4a_args = ' --color={} --storage-dir="{}"'.format(
|
||||
color, self._build_dir)
|
||||
hook = self.buildozer.config.getdefault("app", "p4a.hook", None)
|
||||
if hook is not None:
|
||||
|
|
Loading…
Reference in a new issue