summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-05 20:54:34 +0000
committerRoy Marples <roy@marples.name>2008-01-05 20:54:34 +0000
commit75815abd6ca9c6562c354eca7f314a1618678ad9 (patch)
tree7a529f080371b208d4de02b999ad43a5f641fd14 /src
parent44d63fdec6e27d02c704192c76ee4cb76bc372ae (diff)
downloadopenrc-75815abd6ca9c6562c354eca7f314a1618678ad9.tar.gz
openrc-75815abd6ca9c6562c354eca7f314a1618678ad9.tar.bz2
openrc-75815abd6ca9c6562c354eca7f314a1618678ad9.tar.xz
Fix installing pam files
Diffstat (limited to 'src')
-rw-r--r--src/rc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile
index 55ad8f7..a96b0e4 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