From 6ce8cc5489ef301014a6e249a0b3d84264a64546 Mon Sep 17 00:00:00 2001 From: Tim Niemeyer Date: Sun, 17 Sep 2017 22:05:11 +0200 Subject: [PATCH] buildscript: simplify the use of patches for feeds Do this by applying the path within the patch function. Signed-off-by: Tim Niemeyer Tested-by: Adrian Schmutzler --- buildscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscript b/buildscript index 5559b37f..4abeafa9 100755 --- a/buildscript +++ b/buildscript @@ -103,7 +103,7 @@ get_source() { count=3 while [ "x${FEED[count]}" != "x" ] do - local PATCH=${FEED[count]} + local PATCH="../../../build_patches/${NAME}/${FEED[count]}" if [ ! -z "$PATCH" ] ; then echo "Patching $PATCH" git -C "$NAME" am --whitespace=nowarn "$PATCH"