From ec7d1b4c384e4c8ee726a56920dfbf05b239518d Mon Sep 17 00:00:00 2001 From: cocoon Date: Fri, 5 Jul 2013 21:55:14 +0200 Subject: dynamically insert prefix path into init script using sed -i when running make install --- instfiles/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/instfiles/Makefile.am b/instfiles/Makefile.am index 7ba86d3d..1a73fd24 100644 --- a/instfiles/Makefile.am +++ b/instfiles/Makefile.am @@ -29,3 +29,4 @@ startscript_DATA = \ install-data-hook: chmod 755 $(DESTDIR)$(sysconfdir)/xrdp/xrdp.sh chmod 755 $(DESTDIR)$(sysconfdir)/init.d/xrdp + sed -i 's|__BASE__|$(prefix)|' $(sysconfdir)/init.d/xrdp; -- cgit v1.2.1