Whamcloud - gitweb
Remove the debugging flag to greatly reduce output.
authorbrian <brian>
Fri, 25 Nov 2005 16:50:48 +0000 (16:50 +0000)
committerbrian <brian>
Fri, 25 Nov 2005 16:50:48 +0000 (16:50 +0000)
Add an alternate expression for 2.4's make oldconfig.

build/update_oldconfig

index 8944617..a9b240d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/expect -d
+#!/usr/bin/expect
 
 log_user 0
 set spawnid [spawn make oldconfig]
 
 log_user 0
 set spawnid [spawn make oldconfig]
@@ -23,6 +23,11 @@ expect {
         send "m\r"
         exp_continue
     }
         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"
     -re "\n  *(\[^\n]* \\\[N\/m\/\\?] \\(NEW\\)) " {
         puts "$expect_out(1,string) m"
         send "m\r"