robbat2 14/11/10 00:51:21 Modified: slapd-initd-2.4.40-r1 Log: Bug #527724: eval parsing boo. (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.2 net-nds/openldap/files/slapd-initd-2.4.40-r1 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/openldap/files/slapd-initd-2.4.40-r1?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/openldap/files/slapd-initd-2.4.40-r1?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/openldap/files/slapd-initd-2.4.40-r1?r1=1.1&r2=1.2 Index: slapd-initd-2.4.40-r1 =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-nds/openldap/files/slapd-initd-2.4.40-r1,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- slapd-initd-2.4.40-r1 27 Oct 2014 05:33:59 -0000 1.1 +++ slapd-initd-2.4.40-r1 10 Nov 2014 00:51:21 -0000 1.2 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/files/slapd-initd-2.4.40-r1,v 1.1 2014/10/27 05:33:59 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/files/slapd-initd-2.4.40-r1,v 1.2 2014/11/10 00:51:21 robbat2 Exp $ extra_commands="checkconfig" @@ -48,7 +48,7 @@ # Fallback CONF=${CONF-/etc/openldap/slapd.conf} [ -d $CONF ] && CONF=${CONF}/* - DBDIRS=`eval awk '/^(directory|olcDbDirectory:)/{print $2}' $CONF` + DBDIRS=`eval awk '"/^(directory|olcDbDirectory:)/{print \$2}"' $CONF` for d in $DBDIRS; do if [ ! -d $d ]; then eerror "Directory $d in config does not exist!"