Merge pull request #16 from ids1024/patch

Handle patches in prepare
This commit is contained in:
Jeremy Soller 2017-06-08 15:00:41 -06:00 committed by GitHub
commit ba94943379
2 changed files with 5 additions and 1 deletions

View File

@ -88,6 +88,11 @@ function op {
prepare)
rm -rf build
cp -r source build
for patch in *.patch
do
patch -p1 -d build < "$patch"
done
;;
unprepare)
rm -rf build

View File

@ -26,7 +26,6 @@ function recipe_update {
}
function recipe_build {
patch -p1 < ../make.patch
./configure --host=${HOST} --prefix=/ CFLAGS=-DPOSIX --without-guile
make
skip=1