summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcocoon <nemea@gmx.net>2013-07-05 21:55:14 +0200
committercocoon <nemea@gmx.net>2013-07-05 21:55:14 +0200
commitec7d1b4c384e4c8ee726a56920dfbf05b239518d (patch)
tree628d6743c5b56b5925cf1409bb72c6917129c620
parent071329592108d261f1010c3d65699c1b2973bcf9 (diff)
downloadxrdp-proprietary-ec7d1b4c384e4c8ee726a56920dfbf05b239518d.tar.gz
xrdp-proprietary-ec7d1b4c384e4c8ee726a56920dfbf05b239518d.zip
dynamically insert prefix path into init script
using sed -i when running make install
-rw-r--r--instfiles/Makefile.am1
1 files changed, 1 insertions, 0 deletions
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;