From: brian Date: Wed, 16 Aug 2006 18:44:42 +0000 (+0000) Subject: Answer for a [Y/?] question. X-Git-Tag: 1.4.10~270 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=bd2138b6c03f13675961943325143c714fee81c3;hp=d8d0244bce0afe54e18d43608f2f34b52a58dd7e Answer for a [Y/?] question. --- diff --git a/build/update_oldconfig b/build/update_oldconfig index ebe37b8..6d4d870 100755 --- a/build/update_oldconfig +++ b/build/update_oldconfig @@ -66,4 +66,9 @@ expect { send "m\r" exp_continue } + -re "\n *(\[^\n]* \\\[Y\/\\?] \\(NEW\\)) " { + puts "$expect_out(1,string) y" + send "y\r" + exp_continue + } }