commit:     1b21dc0a174978c6d7a791081e9b7873d1b4b826
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Fri Jan 17 20:35:40 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 22:16:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b21dc0a

qmail.eclass: fix bad variable reference

This only worked by accident as it called from a loop with that variable.

Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 eclass/qmail.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/qmail.eclass b/eclass/qmail.eclass
index 7e33611462b..d3a7ba3ed83 100644
--- a/eclass/qmail.eclass
+++ b/eclass/qmail.eclass
@@ -267,9 +267,9 @@ qmail_tcprules_install() {
 }
 
 qmail_supervise_install_one() {
-       dosupervise ${i}
+       dosupervise ${1}
        diropts -o qmaill -g "${GROUP_ROOT}" -m 755
-       keepdir /var/log/qmail/${i}
+       keepdir /var/log/qmail/${1}
 }
 
 qmail_supervise_install() {

Reply via email to