aboutsummaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2000-11-19 09:41:36 +0800
committerjmz <jmz@FreeBSD.org>2000-11-19 09:41:36 +0800
commitfcca19766c5f6cfe33ec1b8d3d62d1dd9c2f8fb0 (patch)
tree8eba519a3adeb556153c962e663a69129e3a282e /x11/XFree86-4
parent44e6e76050a30845a4e55f185ec50a91eddc5dc6 (diff)
downloadfreebsd-ports-gnome-fcca19766c5f6cfe33ec1b8d3d62d1dd9c2f8fb0.tar.gz
freebsd-ports-gnome-fcca19766c5f6cfe33ec1b8d3d62d1dd9c2f8fb0.tar.zst
freebsd-ports-gnome-fcca19766c5f6cfe33ec1b8d3d62d1dd9c2f8fb0.zip
Fix a bug introduced in revision 1.64: empty answers were always replaced
by "YES" independently of the value proposed by default.
Diffstat (limited to 'x11/XFree86-4')
-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;;