]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorPierangelo Masarati <ando@openldap.org>
Sat, 19 Jun 2004 16:29:30 +0000 (16:29 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 19 Jun 2004 16:29:30 +0000 (16:29 +0000)
tests/scripts/conf.sh

index 49f326c9a0d0f756dfa387393c598728a922296f..42e623c3e15bcb68a87bca3f460b3fb07b3cc609 100755 (executable)
@@ -27,6 +27,7 @@ if [ x"$WITH_SASL" = x"yes" -a x"$USE_SASL" != x"no" ] ; then
        if [ x"$USE_SASL" = x"yes" ] ; then
                USE_SASL=DIGEST-MD5
        fi
+       SASL_MECH="\"mech=$USE_SASL\""
 else
        SASL="nosasl"
        SASL_MECH=
@@ -42,6 +43,6 @@ sed -e "s/@BACKEND@/${BACKEND}/"                      \
        -e "s/^#${MON}#//"                              \
        -e "s/^#${MONMOD}#//"                           \
        -e "s/^#${SASL}#//"                             \
-       -e "s/#SASL_MECH#/\"mech=${USE_SASL}\"/"        \
+       -e "s/#SASL_MECH#/${SASL_MECH}/"        \
        -e "s/@CACHETTL@/${CACHETTL}/"                  \
        -e "s/@ENTRY_LIMIT@/${CACHE_ENTRY_LIMIT}/"