Commit 05835ee0 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Fix patch_dir/patch

parent bab652a0
Pipeline #588 failed with stage
in 6 minutes and 22 seconds
......@@ -80,7 +80,7 @@ def build_package(repo_dir, package_dir, name,
abs_patch_dir = os.path.join(
repo_dir, content["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:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment