On Thu, 06 Oct 2011 12:27:37 +0200 Peter Zijlstra <[email protected]> 
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 /
> +fi
> +
>  mkdir -p $(dirname $patch_file)
>  
>  if [ -e $patch_file ] && \

_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to