prepare.py: fix tunnel clone

This commit is contained in:
Gautier Pelloux-Prayer 2016-04-19 15:07:23 +02:00
parent f35ab9e2f3
commit c5d50d13d1

View file

@ -493,7 +493,7 @@ def main(argv=None):
if args.tunnel:
if not os.path.isdir("submodules/tunnel"):
info("Tunnel wanted but not found yet, trying to clone it...")
p = Popen("git submodule add gitosis@git.linphone.org:tunnel.git submodules/tunnel".split(" "))
p = Popen("git submodule add -f gitosis@git.linphone.org:tunnel.git submodules/tunnel".split(" "))
p.wait()
if p.returncode != 0:
error("Could not clone tunnel. Please see http://www.belledonne-communications.com/voiptunnel.html")