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
oldabi
Rafaël Carré 15 years ago committed by Carl Eugen Hoyos
parent 28e241de5d
commit 09d7da865f
  1. 8
      tools/patcheck

@ -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