f
This commit is contained in:
@@ -877,6 +877,8 @@ def main(argv: Optional[list[str]] = None) -> int:
|
|||||||
print("\nSetup cancelled.")
|
print("\nSetup cancelled.")
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
# Expand variables like $HOME or %USERPROFILE% and ~
|
||||||
|
args.root = os.path.expandvars(args.root)
|
||||||
root = Path(args.root).expanduser().resolve()
|
root = Path(args.root).expanduser().resolve()
|
||||||
# Python executable inside the repo venv (set when we create/find the venv)
|
# Python executable inside the repo venv (set when we create/find the venv)
|
||||||
venv_py = None
|
venv_py = None
|
||||||
@@ -886,6 +888,7 @@ def main(argv: Optional[list[str]] = None) -> int:
|
|||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
args.dest_name = os.path.expandvars(args.dest_name)
|
||||||
dest = root / args.dest_name
|
dest = root / args.dest_name
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user