1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-06-28 22:10:13 +02:00
build/util/misc.sh
David Oberhollenzer 8dca35930b Add utility function for applying patches
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-10 19:59:51 +01:00

8 lines
115 B
Bash

apply_patches() {
local PATCH
for PATCH in $SCRIPTDIR/$PKGDIR/$PKGNAME/*.patch; do
patch -p1 < $PATCH
done
}