[FFmpeg-devel] [PATCH 2/2] configure: log_file: Replace pr with awk invocation

Alexander Strasser eclipse7 at gmx.net
Wed May 1 19:08:06 EEST 2019


Fixes remaining part of ticket #5680

Signed-off-by: Alexander Strasser <eclipse7 at gmx.net>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 81e3776060..96ada8f636 100755
--- a/configure
+++ b/configure
@@ -503,7 +503,7 @@ log(){

 log_file(){
     log BEGIN $1
-    pr -n -t $1 >> $logfile
+    awk '{ printf("%5d\t%s\n", NR, $0) }' $1 >> $logfile
     log END $1
 }

--


More information about the ffmpeg-devel mailing list