summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2000-11-19 01:41:36 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2000-11-19 01:41:36 +0000
commit067c83a25a62aa1554d880d66546e421f4b3d203 (patch)
tree94c403652651e7e1b140b166760f5be65d121469 /x11
parentA whole bunch of updates from the new maintainer: (diff)
Fix a bug introduced in revision 1.64: empty answers were always replaced
by "YES" independently of the value proposed by default.
Notes
Notes: svn path=/head/; revision=35250
Diffstat (limited to 'x11')
-rw-r--r--x11/XFree86-4/scripts/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/XFree86-4/scripts/configure b/x11/XFree86-4/scripts/configure
index 2f24ba857fd2..4fbcc6066f5c 100644
--- a/x11/XFree86-4/scripts/configure
+++ b/x11/XFree86-4/scripts/configure
@@ -14,7 +14,7 @@ yesno () {
while [ $answ = X ]; do
echo -n "$2 [$1] "
read answ
- if [ X$answ = X ]; then answ="YES"; fi
+ if [ X$answ = X ]; then answ=$1; fi
case $answ in
y|yes|Y|YES) answ=YES;;
n|no|N|NO) answ=NO;;