summaryrefslogtreecommitdiffstats
path: root/contrib/pw-am.sh
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-08 22:51:41 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-08 22:51:41 +0200
commit1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch)
treea21a5fc103bb3bd65ecd85ed22be5228fc54e447 /contrib/pw-am.sh
downloadmeta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'contrib/pw-am.sh')
-rwxr-xr-xcontrib/pw-am.sh15
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
10for patchnumber in $@;
11do
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
15done