diff options
author | Ned Bass <[email protected]> | 2011-09-22 15:36:42 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-09-26 09:22:30 -0700 |
commit | f021fe194fec75ba1196638ca00301ba3b54ae85 (patch) | |
tree | 6611bcd28aad78710c6f09f5fe22758e0478d4d7 /etc/init.d/Makefile.in | |
parent | fa6e5ced2fba92555019c7bc09b4c4b98c1a5323 (diff) |
Use automatic variable in Makefile
As written, the $(init_SCRIPTS) rule in etc/init.d/Makefule.am
would not work as expected if the init_SCRIPTS variable were
to contain any elements other than zfs. Fix this by replacing
the hard-coded 'zfs' reference with $@.
Signed-off-by: Ned Bass <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #410
Diffstat (limited to 'etc/init.d/Makefile.in')
-rw-r--r-- | etc/init.d/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/Makefile.in b/etc/init.d/Makefile.in index 32c73dc9e..a639233a1 100644 --- a/etc/init.d/Makefile.in +++ b/etc/init.d/Makefile.in @@ -531,7 +531,7 @@ $(init_SCRIPTS): -e 's,@udevruledir\@,$(udevruledir),g' \ -e 's,@sysconfdir\@,$(sysconfdir),g' \ -e 's,@initdir\@,$(initdir),g' \ - 'zfs.$(DEFAULT_INIT_SCRIPT).in' >'$@' + '$@.$(DEFAULT_INIT_SCRIPT).in' >'$@' distclean-local:: -$(RM) $(init_SCRIPTS) |