From ba44193705cdabb31482c2591cd0a021562ff7ce Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 31 Oct 2021 09:43:14 +0100 Subject: Fix typo --- build-programs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-programs.py') diff --git a/build-programs.py b/build-programs.py index 2df6dbd..d749b80 100755 --- a/build-programs.py +++ b/build-programs.py @@ -66,7 +66,7 @@ def print_program(info): def main(programs_src): # pathlib.Path(x).relative_to(y) cannot handle y not being under x, - # os.path.relpath('x') yields '' rather than '.'. + # os.path.dirname('x') yields '' rather than '.'. # 😮‍💨 imgdir = path.relpath('images', Path(programs_src).parent) -- cgit v1.2.3