From 616f2abbb218c1dc9417162d4b95b2a1c4269660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20J=2E=20Hern=C3=A1ndez=20Blasco?= Date: Mon, 20 Oct 2014 11:47:46 +0200 Subject: [PATCH] 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. --- OpenChange/GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenChange/GNUmakefile b/OpenChange/GNUmakefile index 9329b2ece..88d639220 100644 --- a/OpenChange/GNUmakefile +++ b/OpenChange/GNUmakefile @@ -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