Skip to content

Commit 3ec9829

Browse files
committed
git path fix
1 parent f4f886a commit 3ec9829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CPAC/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_cpac_gitversion() -> str | None:
5555
from pathlib import Path
5656
import subprocess
5757

58-
gitpath = Path(__file__).parent.resolve()
58+
gitpath = Path(__file__).resolve()
5959

6060
gitpathgit = gitpath / ".git"
6161
if not gitpathgit.exists():

0 commit comments

Comments
 (0)