core/linux-3-CHAKRA/gen_kernel_prepatch

23 lines
394 B
Plaintext
Raw Normal View History

2011-08-08 17:00:07 +08:00
#!/bin/bash
source PATCHCFG
if [ -d stable-queue ] ;
then
cd stable-queue
git pull
cd ..
else
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git
fi
if [ -d stable-queue/queue-$_queue ] ;
then
cd stable-queue/queue-$_queue
for i in $(cat ./series);
do
2011-10-30 22:08:51 +08:00
cat $i >> ../../$_prepatch.patch;
2011-08-08 17:00:07 +08:00
done
else
echo "There is no patch-set this time"
fi