diff --git a/island/commands.py b/island/commands.py index ec2faaa..1c742b0 100644 --- a/island/commands.py +++ b/island/commands.py @@ -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: