summaryrefslogtreecommitdiffstats
path: root/release/bininst
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-11-13 06:32:40 +0000
committerjkh <jkh@FreeBSD.org>1994-11-13 06:32:40 +0000
commitf427ece6c5f21d208351c2b2a3e1a7eddad1150d (patch)
treef673d807c8f9aca9eb5200f62194236ef5eaf923 /release/bininst
parent35ae95d68a21a402b6ce0e4fb769a813c66901ee (diff)
downloadFreeBSD-src-f427ece6c5f21d208351c2b2a3e1a7eddad1150d.zip
FreeBSD-src-f427ece6c5f21d208351c2b2a3e1a7eddad1150d.tar.gz
Adjust the size of the input box. It looks a bit funkier now,
but at least the code is smaller!
Diffstat (limited to 'release/bininst')
-rwxr-xr-xrelease/bininst12
1 files changed, 6 insertions, 6 deletions
diff --git a/release/bininst b/release/bininst
index f8c8b1e..b69dc3f 100755
--- a/release/bininst
+++ b/release/bininst
@@ -13,7 +13,7 @@
# putting your name on top after doing something trivial like reindenting
# it, just to make it look like you wrote it!).
#
-# $Id: bininst,v 1.33 1994/11/12 06:22:25 jkh Exp $
+# $Id: bininst,v 1.35 1994/11/13 03:48:55 jkh Exp $
# Some useful constants.
PATH=/usr/bin:/usr/sbin:/bin:/sbin:/stand
@@ -109,7 +109,7 @@ expect it to be in the release. Please press RETURN to go on." 10 60
input()
{
dialog --title "$title" $clear \
- --inputbox "$*" 10 60 "$default_value" 2> ${TMP}/inputbox.tmp.$$
+ --inputbox "$*" 17 72 "$default_value" 2> ${TMP}/inputbox.tmp.$$
if ! handle_rval $?; then rm -f ${TMP}/inputbox.tmp.$$; return 1; fi
answer=`cat ${TMP}/inputbox.tmp.$$`
rm -f ${TMP}/inputbox.tmp.$$
@@ -298,10 +298,10 @@ set_tmpdir()
{
title="Chose temporary directory"
default_value="/usr/tmp"
- if input \
-"Please specify the name of a directory containing enough
-free space to hold the temporary files for this distribution.
-At minimum, a binary distribution will require around 21MB of
+ if ! input \
+"Please specify the name of a directory containing enough free
+space to hold the temporary files for this distribution. At
+minimum, a binary distribution will require around 21MB of
temporary space. At maximum, a srcdist may take 40MB or more.
If the directory you specify does not exist, it will be created
for you. If you do not have enough free space to hold both the
OpenPOWER on IntegriCloud