]> arthur.barton.de Git - netdata.git/blob - build/subst.inc
Merge pull request #2021 from ktsaou/master
[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                 -e 's#[@]sysconfdir_POST@#$(sysconfdir)#g' \
6                 -e 's#[@]pythondir_POST@#$(pythondir)#g' \
7                 $< > $@.tmp; then \
8                 mv "$@.tmp" "$@"; \
9         else \
10                 rm -f "$@.tmp"; \
11                 false; \
12         fi