aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-01-20 10:27:25 +0800
committermax <max@FreeBSD.org>1997-01-20 10:27:25 +0800
commitde8ad2afd14fd6a0335cd52d168b978d29fb864f (patch)
tree90a8be4f72ca7768645829b8a0fc54e510f46e92 /mail
parent7405adb2066ebc4daabf070215e678643dd686c6 (diff)
downloadfreebsd-ports-gnome-de8ad2afd14fd6a0335cd52d168b978d29fb864f.tar.gz
freebsd-ports-gnome-de8ad2afd14fd6a0335cd52d168b978d29fb864f.tar.zst
freebsd-ports-gnome-de8ad2afd14fd6a0335cd52d168b978d29fb864f.zip
Use read -p to get user input instead of echo prompt read var.
Diffstat (limited to 'mail')
-rw-r--r--mail/mailagent/scripts/pre-configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mailagent/scripts/pre-configure b/mail/mailagent/scripts/pre-configure
index 6a5a1be25c9e..a08a67bcb6ba 100644
--- a/mail/mailagent/scripts/pre-configure
+++ b/mail/mailagent/scripts/pre-configure
@@ -6,11 +6,11 @@
# input.
while [ X$addr = X ]; do
- echo -n "Enter your complete E-mail address> " ; read addr
+ read -p "Enter your complete E-mail address> " addr
done
while [ X$host = X ]; do
- echo -n "Enter fully qualified name of this host (`hostname`)> " ; read host
+ read -p "Enter fully qualified name of this host (`hostname`)> " host
if [ X$host = X ]; then
host=`hostname`
fi
@@ -25,7 +25,7 @@ else
hiddennet=$maildomain
fi
-echo -n "Enter the name of your organization> "; read orgname
+read -p "Enter the name of your organization> " orgname
cat >${WRKSRC}/config.sh <<EOM
#!/bin/sh