Whamcloud - gitweb
Remove the debugging flag to greatly reduce output.
[fs/lustre-release.git] / build / update_oldconfig
index e04e5fa..a9b240d 100755 (executable)
@@ -1,9 +1,9 @@
 #!/usr/bin/expect
 
-log_user 1
+log_user 0
 set spawnid [spawn make oldconfig]
 
-match_max 200
+#match_max 200
 
 # need to allow for the config tool to be built initially
 set timeout 30
@@ -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"