diff options
Diffstat (limited to 'script/create_contributor_list.py')
-rw-r--r-- | script/create_contributor_list.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/script/create_contributor_list.py b/script/create_contributor_list.py index 9b336a01b..7db3923f5 100644 --- a/script/create_contributor_list.py +++ b/script/create_contributor_list.py @@ -6,9 +6,10 @@ from pathlib import Path from contributors_txt import create_contributors_txt -BASE_DIRECTORY = Path(__file__).parent.parent -ALIASES_FILE = BASE_DIRECTORY / "script/.contributors_aliases.json" -DEFAULT_CONTRIBUTOR_PATH = BASE_DIRECTORY / "CONTRIBUTORS.txt" +CWD = Path(".").absolute() +BASE_DIRECTORY = Path(__file__).parent.parent.absolute() +ALIASES_FILE = (BASE_DIRECTORY / "script/.contributors_aliases.json").relative_to(CWD) +DEFAULT_CONTRIBUTOR_PATH = (BASE_DIRECTORY / "CONTRIBUTORS.txt").relative_to(CWD) def main(): |