summaryrefslogtreecommitdiff
path: root/v4l/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-08 07:20:50 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-08 07:20:50 -0300
commit9380e197397e3f8404fa2d2effe5c84b6f56735b (patch)
tree81fcf4dc9edfd73f6e0ff211cb2df17a9e79dc16 /v4l/scripts
parentea33affdbd8d71fab71e3f62845b9239d6f60ff8 (diff)
parent4e748efa7677d0762f4b1738cd8869df5eb106b6 (diff)
downloadmediapointer-dvb-s2-9380e197397e3f8404fa2d2effe5c84b6f56735b.tar.gz
mediapointer-dvb-s2-9380e197397e3f8404fa2d2effe5c84b6f56735b.tar.bz2
merge: http://www.linuxtv.org/hg/~tmerle/v4l2-library
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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>;