mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +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
|
#!/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
|
TMP=patcheck.tmp
|
||||||
OPT="-nH"
|
OPT="-nH"
|
||||||
#FILES=`grep '^+++' $* | sed 's/+++ //g'`
|
#FILES=`grep '^+++' $* | sed 's/+++ //g'`
|
||||||
|
Loading…
Reference in New Issue
Block a user