Skip to content

Commit 5221db5

Browse files
sagigrimbergKeith Busch
authored andcommitted
make: fix discovery.conf override
it is located in sysconfdir and not sbindir Signed-off-by: Sagi Grimberg <[email protected]>
1 parent 55054e4 commit 5221db5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ install-etc:
121121
$(INSTALL) -d $(DESTDIR)$(SYSCONFDIR)/nvme
122122
touch $(DESTDIR)$(SYSCONFDIR)/nvme/hostnqn
123123
touch $(DESTDIR)$(SYSCONFDIR)/nvme/hostid
124-
if [ ! -f $(DESTDIR)$(SBINDIR)/nvme/discovery.conf ]; then \
124+
if [ ! -f $(DESTDIR)$(SYSCONFDIR)/nvme/discovery.conf ]; then \
125125
$(INSTALL) -m 644 -T ./etc/discovery.conf.in $(DESTDIR)$(SYSCONFDIR)/nvme/discovery.conf; \
126126
fi
127127

0 commit comments

Comments
 (0)