ITS#5910 fixed sed pathname substitution

This commit is contained in:
Rein Tollevik 2009-01-28 12:17:50 +00:00
parent 74d8f1dedd
commit 1de78498cb

View File

@ -119,7 +119,7 @@ if test $RC != 0 ; then
fi
echo "Starting R1 slave slapd on TCP/IP port $PORT3..."
. $CONFFILTER $BACKEND $MONITORDB < $RSLAVECONF | sed -e 's;\.2\.;.3.;' > $CONF3
. $CONFFILTER $BACKEND $MONITORDB < $RSLAVECONF | sed -e 's;\.2\.\([^/]*\)$;.3.\1;' > $CONF3
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
R1SLAVEPID=$!
if test $WAIT != 0 ; then