From: Gunnar Beutner Date: Mon, 21 Oct 2013 08:51:39 +0000 (+0200) Subject: Fix make install on FreeBSD. X-Git-Tag: v0.0.3~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fab0d1efcc8d1880fe4965b285ad3e7c88c35ca6;p=icinga2 Fix make install on FreeBSD. --- diff --git a/etc/icinga2/Makefile.am b/etc/icinga2/Makefile.am index c7354840b..c98bc4a33 100644 --- a/etc/icinga2/Makefile.am +++ b/etc/icinga2/Makefile.am @@ -19,12 +19,11 @@ install-data-local: EXTRA_DIST = $(CONFIG_FILES) install-exec-hook: - @cd $(icinga2confdir) && \ - if [ ! -e features-enabled ]; then \ - $(MKDIR_P) features-enabled && \ - $(LN_S) ../features-available/checker.conf features-enabled/; \ - $(LN_S) ../features-available/notification.conf features-enabled/; \ - $(LN_S) ../features-available/syslog.conf features-enabled/; \ + @if [ ! -e $(icinga2confdir)/features-enabled ]; then \ + $(MKDIR_P) $(icinga2confdir)/features-enabled && \ + $(LN_S) ../features-available/checker.conf $(icinga2confdir)/features-enabled/; \ + $(LN_S) ../features-available/notification.conf $(icinga2confdir)/features-enabled/; \ + $(LN_S) ../features-available/syslog.conf $(icinga2confdir)/features-enabled/; \ fi uninstall-hook: