Whamcloud - gitweb
Answer for a [Y/?] question.
[fs/lustre-release.git] / 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
+    }
 }