[DEBUG] correct the command actions

This commit is contained in:
Edouard DUPIN 2019-08-02 00:06:44 +02:00
parent e8c5dc4da0
commit 2435b99328

View File

@ -306,7 +306,7 @@ def clone(path_repository, address, branch_name = None, origin=None):
cmd += " --branch " + branch_name
if origin != None and origin == "":
cmd += " --origin " + origin
if path_repository != None and path_repository == "":
if path_repository != None and path_repository != "":
cmd += " " + path_repository
debug.verbose("execute : " + cmd)
if os.path.exists(path_repository) == True: