lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PATCH: v4l-dvb-do-not-strip-patch-files.patch
- Date: Thu, 03 Jul 2008 13:48:41 +0200
- From: Hans de Goede <j.w.r.degoede@xxxxxx>
- Subject: PATCH: v4l-dvb-do-not-strip-patch-files.patch
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@xxxxxx>
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>;
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list