added my Recipes
This commit is contained in:
15
meta-openembedded/contrib/pw-am.sh
Executable file
15
meta-openembedded/contrib/pw-am.sh
Executable file
@@ -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 <number>
|
||||
# example: 'pw-am.sh 221' will get the patch from http://patchwork.openembedded.org/patch/221/
|
||||
|
||||
for patchnumber in $@;
|
||||
do
|
||||
wget -nv http://patchwork.yoctoproject.org/patch/$patchnumber/mbox/ -O pw-am-$patchnumber.patch
|
||||
git am -s pw-am-$patchnumber.patch
|
||||
rm pw-am-$patchnumber.patch
|
||||
done
|
||||
Reference in New Issue
Block a user