summaryrefslogtreecommitdiff
path: root/v4l/scripts
diff options
context:
space:
mode:
authorThierry MERLE <thierry.merle@free.fr>2008-07-03 20:34:29 +0200
committerThierry MERLE <thierry.merle@free.fr>2008-07-03 20:34:29 +0200
commit84fd870c9b642ff3dacaec83f0ec924d44c6f3e9 (patch)
tree433ebbd85939e757beb20ffc6e61644c22f7a79b /v4l/scripts
parent10bc397f22cbd930c1d4d932ec929979d75865b1 (diff)
downloadmediapointer-dvb-s2-84fd870c9b642ff3dacaec83f0ec924d44c6f3e9.tar.gz
mediapointer-dvb-s2-84fd870c9b642ff3dacaec83f0ec924d44c6f3e9.tar.bz2
v4l2-library: v4l-dvb-do-not-strip-patch-files
From: Hans de Goede <j.w.r.degoede@hhs.nl> 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@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Diffstat (limited to 'v4l/scripts')
-rwxr-xr-xv4l/scripts/strip-trailing-whitespaces.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/v4l/scripts/strip-trailing-whitespaces.sh b/v4l/scripts/strip-trailing-whitespaces.sh
index 9bd963025..cb341ce76 100755
--- a/v4l/scripts/strip-trailing-whitespaces.sh
+++ b/v4l/scripts/strip-trailing-whitespaces.sh
@@ -20,6 +20,12 @@ else
fi
for file in `eval $files`; do
+ case "$file" in
+ *.patch)
+ continue
+ ;;
+ esac
+
perl -ne '
s/[ \t]+$//;
s<^ {8}> <\t>;