diff options
author | cocoon <nemea@gmx.net> | 2013-07-05 21:55:14 +0200 |
---|---|---|
committer | cocoon <nemea@gmx.net> | 2013-07-05 21:55:14 +0200 |
commit | ec7d1b4c384e4c8ee726a56920dfbf05b239518d (patch) | |
tree | 628d6743c5b56b5925cf1409bb72c6917129c620 | |
parent | 071329592108d261f1010c3d65699c1b2973bcf9 (diff) | |
download | xrdp-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.am | 1 |
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; |