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.
pull/69/head
Enrique J. Hernández Blasco 2014-10-20 11:47:46 +02:00 committed by Julio García
parent 3910769ae8
commit 616f2abbb2
1 changed files with 1 additions and 1 deletions

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