From b69e8206a71f3700b1b014973ef30f1f983f8aea Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 14 Oct 2011 11:51:42 +0200 Subject: contrib: import pw-am.sh and oe-stylize from OE classic Signed-off-by: Koen Kooi --- contrib/pw-am.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 contrib/pw-am.sh (limited to 'contrib/pw-am.sh') diff --git a/contrib/pw-am.sh b/contrib/pw-am.sh new file mode 100755 index 0000000000..8987eee8eb --- /dev/null +++ b/contrib/pw-am.sh @@ -0,0 +1,15 @@ +#!/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 +# 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 -- cgit 1.2.3-korg