Browse Source

Accept stdin as input for patcheck.

Patch by Rafaël Carré, rafael d carre a gmail

Originally committed as revision 24499 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Rafaël Carré Carl Eugen Hoyos 15 years ago
parent
commit
09d7da865f
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      tools/patcheck

+ 8
- 0
tools/patcheck View File

@@ -1,5 +1,13 @@
#!/bin/sh

# if no argument provided, write stdin to a file and re-run the script
if [ $# = 0 ]; then
cat > patcheck.stdout
$0 patcheck.stdout
rm -f patcheck.stdout
exit
fi

TMP=patcheck.tmp
OPT="-nH"
#FILES=`grep '^+++' $* | sed 's/+++ //g'`


Loading…
Cancel
Save