Whoops. Missed some references
This commit is contained in:
parent
532077e2a3
commit
44bbd13b47
1 changed files with 2 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
from sys import exit
|
from sys import exit
|
||||||
import os
|
import os
|
||||||
|
from os.path import join
|
||||||
|
|
||||||
def no_config(f):
|
def no_config(f):
|
||||||
f.__no_config = True
|
f.__no_config = True
|
||||||
|
@ -244,11 +244,9 @@ class Target(object):
|
||||||
:Returns:
|
:Returns:
|
||||||
fully qualified path to updated git repo
|
fully qualified path to updated git repo
|
||||||
"""
|
"""
|
||||||
if platform is None:
|
|
||||||
raise Exception("platform is a required keyword argument")
|
|
||||||
cmd = self.buildozer.cmd
|
cmd = self.buildozer.cmd
|
||||||
install_dir = join(self.buildozer.platform_dir, repo)
|
install_dir = join(self.buildozer.platform_dir, repo)
|
||||||
custom_dir, clone_url, clone_branch = self.path_or_git_url(repo, platform=platform, **kwargs)
|
custom_dir, clone_url, clone_branch = self.path_or_git_url(repo, **kwargs)
|
||||||
if not self.buildozer.file_exists(install_dir):
|
if not self.buildozer.file_exists(install_dir):
|
||||||
if custom_dir:
|
if custom_dir:
|
||||||
cmd('mkdir -p "{}"'.format(install_dir))
|
cmd('mkdir -p "{}"'.format(install_dir))
|
||||||
|
|
Loading…
Reference in a new issue