From e0872305a3f40f3cff3ef5dfcfc0c643db36f6e6 Mon Sep 17 00:00:00 2001 From: brian Date: Fri, 25 Nov 2005 16:50:48 +0000 Subject: [PATCH] Remove the debugging flag to greatly reduce output. Add an alternate expression for 2.4's make oldconfig. --- build/update_oldconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/update_oldconfig b/build/update_oldconfig index 8944617..a9b240d 100755 --- a/build/update_oldconfig +++ b/build/update_oldconfig @@ -1,4 +1,4 @@ -#!/usr/bin/expect -d +#!/usr/bin/expect log_user 0 set spawnid [spawn make oldconfig] @@ -23,6 +23,11 @@ expect { send "m\r" exp_continue } + -re "\n*(\[^\n]* \\\[N\/y\/m\/\\?] \\(NEW\\)) " { + puts "$expect_out(1,string) m" + send "m\r" + exp_continue + } -re "\n *(\[^\n]* \\\[N\/m\/\\?] \\(NEW\\)) " { puts "$expect_out(1,string) m" send "m\r" -- 1.8.3.1