Hi Hans,
Hans de Goede a écrit :
> Hi,
>
> While doing make commit of my latest patch I found out that
> strip-whitespace also strips the application patches included in the
> latest libv4l, which is bad, this patch fixes this.
>
> Regards,
>
> Hans
> The libv4l directory contains some bugfix patches / port to libv4l patches
> for various applications, strip-trailing-whitespaces.sh should not
> touch these
> this patch teaches strip-trailing-whitespaces.sh to not touch .patch
> files.
>
> Signed-off-by: Hans de Goede <j.w.r.degoede(a)hhs.nl>
>
> diff -r 6169e79de2d2 v4l/scripts/strip-trailing-whitespaces.sh
> --- a/v4l/scripts/strip-trailing-whitespaces.sh Tue Jul 01 21:18:23
> 2008 +0200
> +++ b/v4l/scripts/strip-trailing-whitespaces.sh Thu Jul 03 13:46:16
> 2008 +0200
> @@ -20,6 +20,12 @@
> fi
>
> for file in `eval $files`; do
> + case "$file" in
> + *.patch)
> + continue
> + ;;
> + esac
> +
> perl -ne '
> s/[ \t]+$//;
> s<^ {8}> <\t>;
Applied thanks.
Please post on the v4l2-library too since it targets the interested
people about this v4l userspace library specifically.
Cheers,
Thierry