]> git.sur5r.net Git - openldap/commitdiff
ITS#5810 Add syntax "#~backend~backend...~#option": inverse of #backend#option
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 29 Nov 2009 18:01:35 +0000 (18:01 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 29 Nov 2009 18:01:35 +0000 (18:01 +0000)
tests/scripts/conf.sh

index ed6f034e2ce0392e833a1e85cd107f1b57bac696..bb50966d818407ce7def1448027febf66f79da40 100755 (executable)
@@ -33,6 +33,8 @@ else
 fi
 sed -e "s/@BACKEND@/${BACKEND}/"                       \
        -e "s/^#${BACKEND}#//"                          \
+       -e "/^#~/s/^#[^#]*~${BACKEND}~[^#]*#/#omit: /"  \
+               -e "s/^#~[^#]*~#//"                     \
        -e "s/@RELAY@/${RELAY}/"                        \
        -e "s/^#relay-${RELAY}#//"                      \
        -e "s/^#${BACKENDTYPE}#//"                      \