[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:
parent
84a021258e
commit
d7d72db7bc
1 changed files with 4 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue