From 6e85a367f81d083bf71fecfc5a4f82026affd259 Mon Sep 17 00:00:00 2001 From: Jeffrey Townsend Date: Thu, 18 Aug 2016 13:19:38 -0700 Subject: [PATCH] The patch series file is now a parameter. --- tools/scripts/apply-patches.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/scripts/apply-patches.sh b/tools/scripts/apply-patches.sh index 4b75b70c..5ec1d439 100755 --- a/tools/scripts/apply-patches.sh +++ b/tools/scripts/apply-patches.sh @@ -27,12 +27,13 @@ set -e KERNDIR=$1 PATCHDIR=$2 +PATCH_SERIES=$3 -if [ -f "${PATCHDIR}/series" ]; then +if [ -f "${PATCH_SERIES}" ]; then # # The series file contains the patch order. # - for p in `cat ${PATCHDIR}/series`; do + for p in `cat ${PATCH_SERIES}`; do echo "Appying ${p}..." if [ -x "${PATCHDIR}/${p}" ]; then "${PATCHDIR}/${p}" "${KERNDIR}"