Patch provided by dj@gregor.com.
depend: FORCE
clean: FORCE
- $(RM) test-db/[^C]* test-repl/[^C]*
+ $(RM) test-db/[!C]* test-repl/[!C]*
veryclean: clean
echo "Cleaning up in $DBDIR..."
-rm -f $DBDIR/[^C]*
+rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
echo "Cleaning up in $DBDIR..."
-rm -f $DBDIR/[^C]*
+rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
echo "Cleaning up in $DBDIR..."
-rm -f $DBDIR/[^C]*
+rm -f $DBDIR/[!C]*
echo "Starting slapd on TCP/IP port $PORT..."
$SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 &
echo "Cleaning up in $DBDIR..."
-rm -f $DBDIR/[^C]*
+rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
echo "Cleaning up in $DBDIR..."
-rm -f $DBDIR/[^C]*
+rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
echo "Cleaning up in $DBDIR..."
-rm -f $DBDIR/[^C]*
+rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
. scripts/defines.sh
echo "Cleaning up in $DBDIR..."
-rm -f $DBDIR/[^C]*
+rm -f $DBDIR/[!C]*
echo "Cleaning up in $REPLDIR..."
-rm -f $REPLDIR/[^C]*
+rm -f $REPLDIR/[!C]*
echo "Starting master slapd on TCP/IP port $PORT..."
$SLAPD -f $MASTERCONF -p $PORT -d 1 > $MASTERLOG 2>&1 &