mkbuild

mk based build system
git clone git://git.2f30.org/mkbuild
Log | Files | Refs | LICENSE

commit 9f530c3f44e31f20155c23b8eb8e2c54f5947de0
parent f3c28e9d14ea4e768a87e9f120b06300f8d485ea
Author: Daniel Bainton <dpb@driftaway.org>
Date:   Mon, 26 May 2014 13:50:36 +0300

Support -p0 patches too

Diffstat:
Mmk.3rdparty | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/mk.3rdparty b/mk.3rdparty @@ -21,8 +21,14 @@ build:QV: fetch patch patch:QV: fetch cd $src + n=1 for p in $patches; do - patch -p1 < $p + if test "$p" = "0"; then + n=0 + else + patch -p$n < $p + n=1 + fi done install:QV: all