X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=build%2Fupdate_oldconfig;fp=build%2Fupdate_oldconfig;h=a9b240d2b1a7351f352ba57263551f69594fbf4f;hp=8944617bd8b2cb7adddfd5ffb660ee9b11e7aa71;hb=e0872305a3f40f3cff3ef5dfcfc0c643db36f6e6;hpb=3693ec08540f80a1ab9e11a62664cf03f289f4fe 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"