[FFmpeg-cvslog] r24499 - trunk/tools/patcheck

cehoyos subversion
Sun Jul 25 17:02:28 CEST 2010


Author: cehoyos
Date: Sun Jul 25 17:02:27 2010
New Revision: 24499

Log:
Accept stdin as input for patcheck.

Patch by Rafa?l Carr?, rafael d carre a gmail

Modified:
   trunk/tools/patcheck

Modified: trunk/tools/patcheck
==============================================================================
--- trunk/tools/patcheck	Sun Jul 25 16:49:45 2010	(r24498)
+++ trunk/tools/patcheck	Sun Jul 25 17:02:27 2010	(r24499)
@@ -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'`



More information about the ffmpeg-cvslog mailing list