patch-2.4.0-test10 linux/scripts/Configure

Next file: linux/scripts/Menuconfig
Previous file: linux/net/x25/af_x25.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/scripts/Configure linux/scripts/Configure
@@ -420,7 +420,11 @@
 	old=$(eval echo "\${$2}")
 	def=${old:-$3}
 	while :; do
-	  readln "$1 ($2) [$def] " "$def" "$old"
+          if [ "$old" = "?" ]; then
+             readln "$1 ($2) [$def] " "$def" ""
+          else
+	     readln "$1 ($2) [$def] " "$def" "$old"
+          fi
 	  if [ "$ans" = "?" ]; then
 	    help "$2"
 	  else

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)