Whamcloud - gitweb
Answer for a [Y/?] question.
authorbrian <brian>
Wed, 16 Aug 2006 18:44:42 +0000 (18:44 +0000)
committerbrian <brian>
Wed, 16 Aug 2006 18:44:42 +0000 (18:44 +0000)
build/update_oldconfig

index ebe37b8..6d4d870 100755 (executable)
@@ -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
+    }
 }