diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-10-14 11:51:42 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-10-14 14:26:33 +0200 |
commit | b69e8206a71f3700b1b014973ef30f1f983f8aea (patch) | |
tree | 150112bb2b2b8b14bf2f947ccd47dc82cecdd2fe /contrib/pw-am.sh | |
parent | d790211484a789bcbe3c752733ea129c5653d5aa (diff) | |
download | meta-openembedded-b69e8206a71f3700b1b014973ef30f1f983f8aea.tar.gz |
contrib: import pw-am.sh and oe-stylize from OE classic
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'contrib/pw-am.sh')
-rwxr-xr-x | contrib/pw-am.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/pw-am.sh b/contrib/pw-am.sh new file mode 100755 index 000000000..8987eee8e --- /dev/null +++ b/contrib/pw-am.sh | |||
@@ -0,0 +1,15 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # Idea and implementation: Koen Kooi | ||
4 | # Multiple patches support: Marcin Juszkiewicz | ||
5 | # | ||
6 | # This script will fetch an 'mbox' patch from patchwork and git am it | ||
7 | # usage: pw-am.sh <number> | ||
8 | # example: 'pw-am.sh 221' will get the patch from http://patchwork.openembedded.org/patch/221/ | ||
9 | |||
10 | for patchnumber in $@; | ||
11 | do | ||
12 | wget -nv http://patches.openembedded.org/patch/$patchnumber/mbox/ -O pw-am-$patchnumber.patch | ||
13 | git am -s pw-am-$patchnumber.patch | ||
14 | rm pw-am-$patchnumber.patch | ||
15 | done | ||