Skip to content

Commit

Permalink
Fix git-lfs version in adjusted PATH.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga authored Jan 20, 2024
1 parent 35bdac9 commit dd8dfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_lfs_content/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dd8dfda

Please sign in to comment.