Skip to content
Snippets Groups Projects
Commit 05835ee0 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Fix patch_dir/patch

parent bab652a0
Branches
No related tags found
No related merge requests found
Checking pipeline status
......@@ -80,7 +80,7 @@ def build_package(repo_dir, package_dir, name,
abs_patch_dir = os.path.join(
repo_dir, content["patch_dir"])
apply_patches(abs_patch_dir)
if "patch" in content:
elif "patch" in content:
abs_patch_dir = os.path.join(repo_dir, content["patch"])
run_checked(["patch", "-d", ".", "-p0", abs_patch_dir])
elif "git_url" in content:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment