[FIX] script: show erplibre clone path clearly

The root repo clone command showed "." as target path
which was confusing and easy to miss in the list.
Display "erplibre" instead for clarity.

Generated by Claude Code 2.1.72 model claude-sonnet-4-6

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
This commit is contained in:
Mathieu Benoit 2026-03-11 03:44:22 -04:00
parent 84a021258e
commit d7d72db7bc

View file

@ -740,9 +740,12 @@ def print_clone_commands(git_path, projects, port):
repo_name += ".git"
bare_path = os.path.join(git_path, repo_name)
if os.path.isdir(bare_path):
clone_path = project["path"]
if clone_path == ".":
clone_path = "erplibre"
print(
f" git clone {base_url}/{repo_name}"
f" {project['path']}"
f" {clone_path}"
)
count += 1
print(f"\nTotal: {count} repos available")