Re: [RFC][PATCH v2][QUILT] Add

From: Steven Rostedt
Date: Thu Oct 06 2011 - 13:57:52 EST


On Thu, 2011-10-06 at 10:26 -0700, Andrew Morton wrote:
> On Thu, 06 Oct 2011 12:27:37 +0200 Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
>
> > since we're all happily sharing quilt hackery, let me hijack this thread
> > and share one I've been carrying around for a while.
> >
> > I use the below patch to run a script like:
> >
> > #!/bin/bash
> >
> > if [ -x ./scripts/chechpatch.pl ]; then
> > ./scripts/checkpatch.pl $1
> > fi
> >
> >
> > ---
> > --- /usr/share/quilt/refresh.orig 2010-02-27 20:42:14.888302809 +0100
> > +++ /usr/share/quilt/refresh 2010-10-31 12:36:57.355400831 +0100
> > @@ -310,6 +310,10 @@
> >
> > cat $tmp_patch >> $tmp_result
> >
> > +if [ -n $QUILT_REFRESH_EXT ] ; then
> > + $QUILT_REFRESH_EXT $tmp_result
> else
> sudo rm -rf /


I think I now know who cracked kernel.org.

-- Steve

> > +fi
> > +
> > mkdir -p $(dirname $patch_file)
> >
> > if [ -e $patch_file ] && \


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/