Fix compilation when samba file is not others readable

This happens when any smb.conf or included file is not others readable,
thus we are fallbacking to the default installation path.
This commit is contained in:
Enrique J. Hernández Blasco 2014-10-20 11:47:46 +02:00 committed by Julio García
parent 3910769ae8
commit 616f2abbb2

View file

@ -31,7 +31,7 @@ endif
all::
@echo " Python executable: ${PYTHON}"
SAMBA_PRIVATE_DIR = $(shell $(PYTHON) ./samba-get-config.py "private dir")
SAMBA_PRIVATE_DIR = $(shell $(PYTHON) ./samba-get-config.py 'private dir' || echo /var/lib/samba/private)
$(SOGOBACKEND)_PRINCIPAL_CLASS = MAPIApplication