From: brian Date: Fri, 25 Nov 2005 16:50:48 +0000 (+0000) Subject: Remove the debugging flag to greatly reduce output. X-Git-Tag: v1_7_100~563 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=e0872305a3f40f3cff3ef5dfcfc0c643db36f6e6 Remove the debugging flag to greatly reduce output. Add an alternate expression for 2.4's make oldconfig. --- 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"