]> git.sur5r.net Git - openldap/commitdiff
This *should* work
authorKurt Zeilenga <kurt@openldap.org>
Mon, 12 Aug 2002 22:27:24 +0000 (22:27 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 12 Aug 2002 22:27:24 +0000 (22:27 +0000)
tests/scripts/conf.sh

index 43504e3a5ac74b4de14ef8865696ad8eadbbb3ec..28978c50171aa215693d58933eeb3a43a83a11e0 100755 (executable)
@@ -5,5 +5,8 @@ if [ x"$MONITORDB" = x"yes" ] ; then
 else
        MON=nomonitor
 fi
-sed -e "s/@BACKEND@/$BACKEND/" -e "s/^#$BACKEND#//"  -e "s/^#$MON#//" \
-       -e "s/@PORT@/9009/" -e "s/@SLAVEPORT@/9010/"
+sed -e "s/@BACKEND@/${BACKEND}/"       \
+       -e "s/^#${BACKEND}#//"                  \
+       -e "s/^#${MON}#//"                              \
+       -e "s/@PORT@/${PORT}/"                  \
+       -e "s/@SLAVEPORT@/${SLAVEPORT}/"