diff options
author | Jay Freeman <saurik@saurik.com> | 2014-05-13 10:33:48 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2014-05-13 10:33:48 +0000 |
commit | 96e76635da3c9990a9e3c6b7cbd6249ad54f487a (patch) | |
tree | e2b2e1458ba38c9c216108eb0c9d3e6f26e8daa9 | |
parent | 8ac0cb3e925bce4505412e372869ecdb33eb545d (diff) |
Support per-patch application arguments.
git-svn-id: http://svn.telesphoreo.org/trunk@780 514c082c-b64e-11dc-b46d-3d985efe055d
-rwxr-xr-x | make.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -67,8 +67,9 @@ function pkg:patch() { continue; fi + args=$(cat ${diff%.diff}.args 2>/dev/null || true) echo "patching with ${diff}..." - patch -p1 <"${diff}" + patch ${args:=-p1} <"${diff}" done } |