summaryrefslogtreecommitdiff
path: root/apply-manifest-patch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apply-manifest-patch.sh')
-rwxr-xr-xapply-manifest-patch.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/apply-manifest-patch.sh b/apply-manifest-patch.sh
new file mode 100755
index 0000000..a0ea92b
--- /dev/null
+++ b/apply-manifest-patch.sh
@@ -0,0 +1,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