]> git.meshlink.io Git - catta/commitdiff
init: fix lfs init script generation
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Jul 2010 00:56:05 +0000 (02:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Jul 2010 00:56:05 +0000 (02:56 +0200)
initscript/lfs/Makefile.am

index e8386e8a56b8bb1e562bbf62b8dd1618b462705b..ed8dcb8a5db72934924a07f65812d5c56e743612 100644 (file)
@@ -24,4 +24,8 @@ initd_SCRIPTS = avahi
 CLEANFILES = avahi
 
 avahi: avahi.in
+       $(AM_V_GEN)sed \
+               -e 's,@sbindir\@,$(sbindir),g' \
+               -e 's,@localstatedir\@,$(localstatedir),g' \
+               $< > $@ && \
        chmod +x $@