summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-04 19:20:06 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-04 19:20:06 +0200
commitebf63a98adae5ea84d044b73a03612a9fd75af26 (patch)
treea295b0882e991c4c02cde7f12a513c04dba9d0c8
parentfec626d9e26dbdce91db6eed42d898eb671a7906 (diff)
downloadsmokeping-working.tar.gz
smokeping-working.tar.xz
Fix wrong hardcoded path in fcgi example fileHEADworkingmaster
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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