diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /contrib/pw-am.sh | |
download | meta-openembedded-1b8dfe266937a37a4c642f96ceb2347bf4c00a17.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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 | ||