patch-2.2.19 linux/scripts/Configure
Next file: linux/scripts/kwhich
Previous file: linux/net/x25/af_x25.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sun Mar 25 11:37:42 2001
- Orig file:
v2.2.18/scripts/Configure
- Orig date:
Sun Mar 25 11:13:33 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/scripts/Configure linux/scripts/Configure
@@ -422,7 +422,18 @@
function string () {
old=$(eval echo "\${$2}")
def=${old:-$3}
- readln "$1 ($2) [$def] " "$def" "$old"
+ while :; do
+ if [ "$old" = "?" ]; then
+ readln "$1 ($2) [$def] " "$def" ""
+ else
+ readln "$1 ($2) [$def] " "$def" "$old"
+ fi
+ if [ "$ans" = "?" ]; then
+ help "$2"
+ else
+ break
+ fi
+ done
define_string "$2" "$ans"
}
#
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)