]> git.sur5r.net Git - openldap/commitdiff
ITS#3929 "test -e" doesn't exist on Solaris
authorHoward Chu <hyc@openldap.org>
Thu, 11 Aug 2005 00:27:59 +0000 (00:27 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 11 Aug 2005 00:27:59 +0000 (00:27 +0000)
servers/slapd/Makefile.in

index f63dd543ffa0970bdecf3b462cafbd2b1d10d82d..2ae075d17b26ab176a925207dc6eb71e60b80c40 100644 (file)
@@ -401,7 +401,7 @@ all-cffiles: slapd $(SLAPD_DYNAMIC_BACKENDS) dynamic_overlays
        touch all-cffiles
 
 install-schema: FORCE
-       @if test -e $(DESTDIR)$(schemadir) ; then \
+       @if test -d $(DESTDIR)$(schemadir) ; then \
                echo "MOVING EXISTING SCHEMA DIR to $(DESTDIR)$(schemadir).$$$$" ; \
                mv $(DESTDIR)$(schemadir) $(DESTDIR)$(schemadir).$$$$ ; \
        fi