Skip to content

Commit 984321c

Browse files
committed
Merge branch 'update-libsbp-build' into fix-python-warnings
2 parents a4db088 + 799e194 commit 984321c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/generator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Set safe git directory
3434
run: |
35-
git config --global --add safe.directory /__w/libsbp/libsbp
35+
git config --system --add safe.directory /__w/libsbp/libsbp
3636
3737
- name: Generate tests
3838
run: |

generator/sbpg/targets/latex.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,6 @@ def render_source(output_dir, package_specs, version: ReleaseVersion):
354354
os.chdir(output_dir)
355355
if "TEXMFVAR" not in os.environ:
356356
os.environ["TEXMFVAR"] = "/tmp"
357-
# fix "dubious ownership in repository" error with git 2.35.2 and later
358-
os.chown("..", os.getuid(), os.getgid())
359357
subprocess.check_call(["pdflatex", "--enable-write18",
360358
"-shell-escape", "sbp_out.tex"])
361359
subprocess.check_call(["mv", "sbp_out.pdf", "../docs/sbp.pdf"])

0 commit comments

Comments
 (0)