summaryrefslogtreecommitdiff
path: root/apply-manifest-patch.sh
blob: a0ea92b9315be73d3fdc3adceb2451e31e462d28 (plain)
1
2
3
4
5
6
7
8
9
10
MANIFEST_DIR="./.repo/manifests"
PATCHES=`find $MANIFEST_DIR -iname *.patch | sort`
export PATCH_DIR=$PWD
# Apply all the patches
for patch in $PATCHES;
do
   cd ../.repo/manifests;
   echo "Applying Patch in $PWD";
   git am $PATCH_DIR/$patch;cd -;
done