summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArcady Genkin <agenkin@gentoo.org>2002-08-09 03:17:22 +0000
committerArcady Genkin <agenkin@gentoo.org>2002-08-09 03:17:22 +0000
commitf0d271ce2f0147d00f7d35d9d28c3c23ef72d4d8 (patch)
treed57bb145e670d7b8154e13fda61afc64d2a1a1e2 /net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild
parentFixed indentation and headers' ordering. (diff)
downloadgentoo-2-f0d271ce2f0147d00f7d35d9d28c3c23ef72d4d8.tar.gz
gentoo-2-f0d271ce2f0147d00f7d35d9d28c3c23ef72d4d8.tar.bz2
gentoo-2-f0d271ce2f0147d00f7d35d9d28c3c23ef72d4d8.zip
Localized some env. variables.
Diffstat (limited to 'net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild')
-rw-r--r--net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild b/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild
index 57a307e1f46f..d943094ee8e7 100644
--- a/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild
+++ b/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild,v 1.10 2002/08/09 03:06:49 agenkin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild,v 1.11 2002/08/09 03:17:22 agenkin Exp $
DESCRIPTION="Extremely simple MTA to get mail off the system to a Mailhub"
LICENSE="GPL-2"
@@ -38,9 +38,9 @@ src_install() {
pkg_config() {
- conffile="/etc/ssmtp/ssmtp.conf"
- hostname=`hostname -f`
- domainame=`hostname -d`
+ local conffile="/etc/ssmtp/ssmtp.conf"
+ local hostname=`hostname -f`
+ local domainame=`hostname -d`
mv ${conffile} ${conffile}.orig
sed -e "s:rewriteDomain\=:rewriteDomain\=${domainame}:g" \
-e "s:_HOSTNAME_:${hostname}:" \