From dd8dfdaa40d7d7017099f8b8c059c3c11a5dbc71 Mon Sep 17 00:00:00 2001 From: Marcel Rieger Date: Sat, 20 Jan 2024 13:39:53 +0100 Subject: [PATCH] Fix git-lfs version in adjusted PATH. --- sphinx_lfs_content/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_lfs_content/__init__.py b/sphinx_lfs_content/__init__.py index 6ad9024..16412f7 100644 --- a/sphinx_lfs_content/__init__.py +++ b/sphinx_lfs_content/__init__.py @@ -35,7 +35,7 @@ def lfs_setup(_, config): # This works around a bug in git-lfs where git-lfs is called recursively, # but the inner calls rely on git-lfs being in PATH. env = os.environ - env["PATH"] = os.environ["PATH"] + os.path.pathsep + os.path.join(tmp_dir, "git-lfs-3.4.0") + env["PATH"] = os.environ["PATH"] + os.path.pathsep + os.path.join(tmp_dir, "git-lfs-3.4.1") # Fetch the LFS content of the repository subprocess.check_call("git-lfs install".split(), env=env)