diff options
-rw-r--r-- | src/rc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile index 55ad8f78..a96b0e49 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -59,6 +59,6 @@ install: $(INSTALL) -d $(DESTDIR)/$(LIBNAME)/$(PROG)/sbin for x in $(RC_SBINLINKS); do ln -fs ${BINDIR}/${PROG} $(DESTDIR)/$(LIBNAME)/$(PROG)/sbin/$$x; done if test "$(PAM)" = pam; then \ - ${INSTALL} -d ${PAMDIR}; \ + ${INSTALL} -d ${DESTDIR}${PAMDIR}; \ ${INSTALL} -m ${PAMMODE} start-stop-daemon.pam $(DESTDIR)${PAMDIR}/start-stop-daemon; \ fi |