prepare.py: fix tunnel option

This commit is contained in:
Gautier Pelloux-Prayer 2015-08-07 09:35:43 +02:00
parent 61929cb27a
commit 84e51648a7

View file

@ -495,9 +495,9 @@ def main(argv=None):
print("Tunnel enabled but not found, trying to clone it...")
if check_is_installed("git", "it", True):
Popen("git clone gitosis@git.linphone.org:tunnel.git submodules/tunnel".split(" ")).wait()
additional_args += ["-DENABLE_TUNNEL=YES"]
else:
return 1
additional_args += ["-DENABLE_TUNNEL=YES"]
selected_platforms = []
for platform in args.platform: