summaryrefslogtreecommitdiff
path: root/apply-patch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apply-patch.sh')
-rwxr-xr-xapply-patch.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/apply-patch.sh b/apply-patch.sh
new file mode 100755
index 0000000..4970bf3
--- /dev/null
+++ b/apply-patch.sh
@@ -0,0 +1,12 @@
+PATCHES=`find . -iname *.patch | sort`
+export PATCH_DIR=$PWD
+# Apply all the patches
+for patch in $PATCHES;
+do
+echo `dirname $patch`
+if [ `dirname $patch` != "./.repo/manifests" ];then
+ cd ../`dirname $patch`;
+ echo "Applying Patch in $PWD";
+ git am $PATCH_DIR/$patch;cd -;
+fi
+done