diff options
author | 2005-06-07 11:33:39 +0000 | |
---|---|---|
committer | 2005-06-07 11:33:39 +0000 | |
commit | 2e3a3987871dfe849b645cdf54d557f41c52d89e (patch) | |
tree | 33952047b66d76a4a2a412dab1e103b57ecf08c8 /eclass | |
parent | fix (diff) | |
download | historical-2e3a3987871dfe849b645cdf54d557f41c52d89e.tar.gz historical-2e3a3987871dfe849b645cdf54d557f41c52d89e.tar.bz2 historical-2e3a3987871dfe849b645cdf54d557f41c52d89e.zip |
Fixed dopamsecurity() function. Thanks to Ed Catmur in #95294.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/pam.eclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/pam.eclass b/eclass/pam.eclass index 59b5e21a7be5..9a93f1aa9d69 100644 --- a/eclass/pam.eclass +++ b/eclass/pam.eclass @@ -1,7 +1,7 @@ # Copyright 2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later # Author Diego Pettenò <flameeyes@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.4 2005/06/04 19:01:11 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.5 2005/06/07 11:33:39 flameeyes Exp $ # # This eclass contains functions to install pamd configuration files and # pam modules. @@ -49,8 +49,7 @@ dopamsecurity() { fi INSDESTTREE=/etc/security/$1 \ - shift - doins "$@" || die "failed to install $@" + doins "${@:2}" || die "failed to install ${@:2}" } # newpamsecurity <section> <old name> <new name> |