From 2e3a3987871dfe849b645cdf54d557f41c52d89e Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Tue, 7 Jun 2005 11:33:39 +0000 Subject: Fixed dopamsecurity() function. Thanks to Ed Catmur in #95294. --- eclass/pam.eclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'eclass/pam.eclass') 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ò -# $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
-- cgit v1.2.3-65-gdbad