summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/Makefile.am b/htdocs/Makefile.am
index 12de76f..af42152 100644
--- a/htdocs/Makefile.am
+++ b/htdocs/Makefile.am
@@ -28,5 +28,5 @@ nobase_js_DATA = $(JS)
install-data-local:
$(MKDIR) -p $(DESTDIR)$(HTDOCSDIR)
$(ECHO) "#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
- $(ECHO) "exec $(prefix)/bin/smokeping_cgi $(prefix)/etc/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
+ $(ECHO) "exec $(bindir)/smokeping_cgi $(sysconfdir)/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist