summaryrefslogtreecommitdiff
path: root/hid/patch.py
diff options
context:
space:
mode:
Diffstat (limited to 'hid/patch.py')
-rw-r--r--hid/patch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hid/patch.py b/hid/patch.py
index 9c253295..0d080b49 100644
--- a/hid/patch.py
+++ b/hid/patch.py
@@ -28,6 +28,7 @@ def _patch(path: str, patch_path: str) -> None:
assert exists(path)
flag_path: str = join(path, f".{basename(patch_path)}.done")
if not exists(flag_path):
+ # TODO check for failure
env.Execute(f"patch -p1 -d {path} < {patch_path}")
env.Execute(lambda *_, **__: open(flag_path, "w").close())