ITS#3929 "test -e" doesn't exist on Solaris

This commit is contained in:
Howard Chu 2005-08-11 00:27:59 +00:00
parent e9ab8809a8
commit ba0996f1c1

View 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