]> arthur.barton.de Git - netdata.git/blob - build/subst.inc
build: generate proper systemd service file
[netdata.git] / build / subst.inc
1 .in:
2         if sed \
3                 -e 's#[@]localstatedir_POST@#$(localstatedir)#g' \
4                 -e 's#[@]sbindir_POST@#$(sbindir)#g' \
5                 $< > $@.tmp; then \
6                 mv "$@.tmp" "$@"; \
7         else \
8                 rm -f "$@.tmp"; \
9                 false; \
10         fi