Commit b69e8206 authored by Koen Kooi's avatar Koen Kooi

contrib: import pw-am.sh and oe-stylize from OE classic

Signed-off-by: 's avatarKoen Kooi <koen@dominion.thruhere.net>
parent d7902114
This diff is collapsed.
#!/bin/sh
#
# Idea and implementation: Koen Kooi
# Multiple patches support: Marcin Juszkiewicz
#
# This script will fetch an 'mbox' patch from patchwork and git am it
# usage: pw-am.sh <number>
# example: 'pw-am.sh 221' will get the patch from http://patchwork.openembedded.org/patch/221/
for patchnumber in $@;
do
wget -nv http://patches.openembedded.org/patch/$patchnumber/mbox/ -O pw-am-$patchnumber.patch
git am -s pw-am-$patchnumber.patch
rm pw-am-$patchnumber.patch
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment