mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
28e241de5d
commit
09d7da865f
@ -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…
Reference in New Issue
Block a user