From 7496f402cb2b99f2c48007368e2e9c30ee00ad9c Mon Sep 17 00:00:00 2001 From: Sean Sheng Date: Mon, 22 Jan 2024 01:17:57 -0800 Subject: [PATCH] bug: fix git-lfs version in 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)