]> granicus.if.org Git - icinga2/commitdiff
Fix make install on FreeBSD.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 21 Oct 2013 08:51:39 +0000 (10:51 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 21 Oct 2013 08:51:39 +0000 (10:51 +0200)
etc/icinga2/Makefile.am

index c7354840b20844a51ec67994df966cb1864b5a9b..c98bc4a33c77cc40ad533798da5a2973e81b472d 100644 (file)
@@ -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: