From: Hallvard Furuseth Date: Tue, 6 Apr 1999 01:00:31 +0000 (+0000) Subject: Protect against failed commands in Makefile.in X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~242 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a66f4db90b550dbfef8d377980c6dcb7681ed9d9;p=openldap Protect against failed commands in Makefile.in --- diff --git a/tests/Makefile.in b/tests/Makefile.in index 0bd9bc8783..297eca982c 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -10,7 +10,7 @@ test-bdb2: FORCE @-$(LN_S) $(srcdir)/data . @if test "$(BUILD_BDB2)" = "yes" ; then \ echo "Initiating LDAP tests..." ; \ - $(MKDIR) test-db test-repl ; \ + $(MKDIR) test-db test-repl || true; \ $(srcdir)/scripts/all $(srcdir) bdb2 ; \ else \ echo "run configure with --enable-bdb2" ; \ @@ -20,12 +20,12 @@ tests: test-ldbm test: test-ldbm test-ldbm: FORCE @-$(LN_S) $(srcdir)/data . - @echo "Initiating LDAP tests..."; \ - $(MKDIR) test-db test-repl ; \ - $(srcdir)/scripts/all $(srcdir) ldbm + @echo "Initiating LDAP tests..." + @-$(MKDIR) test-db test-repl || true + @$(srcdir)/scripts/all $(srcdir) ldbm clean-local: FORCE - $(RM) test-db/[!C]* test-repl/[!C]* *core + -$(RM) test-db/[!C]* test-repl/[!C]* *core veryclean-local: FORCE @-$(RM) data