diff options
Diffstat (limited to 'apply-manifest-patch.sh')
-rwxr-xr-x | apply-manifest-patch.sh | 10 |
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 |