summaryrefslogtreecommitdiffstats
path: root/chpass/Makefile
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-04-17 19:15:38 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-04-17 19:15:38 +0000
commit51bc23372bc60cf247d110421fb63a67e4e037e4 (patch)
treeeba29e84189985015e2927b67372896e7c6bb7c7 /chpass/Makefile
parent9ef16572565d617a4d6484f6c21bb5b72461df91 (diff)
downloadpw-darwin-51bc23372bc60cf247d110421fb63a67e4e037e4.tar.gz
pw-darwin-51bc23372bc60cf247d110421fb63a67e4e037e4.tar.zst
pw-darwin-51bc23372bc60cf247d110421fb63a67e4e037e4.zip
Missing ${DESTDIR} on chflags commands added.
Diffstat (limited to 'chpass/Makefile')
-rw-r--r--chpass/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/chpass/Makefile b/chpass/Makefile
index d5090da..7b76f90 100644
--- a/chpass/Makefile
+++ b/chpass/Makefile
@@ -10,9 +10,10 @@ LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
beforeinstall:
- [ ! -e /usr/bin/chpass ] || chflags noschg /usr/bin/chpass
+ [ ! -e ${DESTDIR}/usr/bin/chpass ] || \
+ chflags noschg ${DESTDIR}/usr/bin/chpass
afterinstall:
- chflags schg /usr/bin/chpass
+ chflags schg ${DESTDIR}/usr/bin/chpass
.include <bsd.prog.mk>