patch-2.4.0-prerelease linux/scripts/Configure
Next file: linux/scripts/kernel-doc
Previous file: linux/net/x25/af_x25.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sat Dec 30 18:16:13 2000
- Orig file:
v2.4.0-test12/linux/scripts/Configure
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test12/linux/scripts/Configure linux/scripts/Configure
@@ -479,11 +479,14 @@
while [ -n "$1" ]; do
name=$(echo $1 | tr a-z A-Z)
case "$name" in
- "$ans"* )
- if [ "$name" = "$ans" ]; then
- val="$2"
- break # stop on exact match
- fi
+ "$ans"* | */"$ans"* )
+ case "$name" in
+ "$ans" | */"$ans"/* | \
+ "$ans"/* | */"$ans" )
+ val="$2"
+ break # exact match
+ ;;
+ esac
if [ -n "$val" ]; then
echo;echo \
" Sorry, \"$ans\" is ambiguous; please enter a longer string."
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)