dynamically insert prefix path into init script

using sed -i when running make install
ulab-next
cocoon 12 years ago
parent 0713295921
commit ec7d1b4c38

@ -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;

Loading…
Cancel
Save