Use :', rather than .' to separate user and group in chown commands

in case we ever decide to remove the support for the (obsolete) `.'
separator.
This commit is contained in:
jtc 1993-09-30 22:42:09 +00:00
parent edf530b5b7
commit e0ee30aed4
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.5 1993/09/23 23:28:29 rich Exp $ # $Id: Makefile,v 1.6 1993/09/30 22:42:09 jtc Exp $
SUBDIR= libg++ genclass SUBDIR= libg++ genclass
@ -7,17 +7,17 @@ INCLUDEDIRS= iostream libg++ g++-include
beforeinstall: beforeinstall:
@-if [ ! -d ${DESTDIR}/usr/include/g++ ]; then \ @-if [ ! -d ${DESTDIR}/usr/include/g++ ]; then \
mkdir ${DESTDIR}/usr/include/g++; \ mkdir ${DESTDIR}/usr/include/g++; \
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/g++; \ chown ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include/g++; \
chmod 755 ${DESTDIR}/usr/include/g++; \ chmod 755 ${DESTDIR}/usr/include/g++; \
fi fi
@-if [ ! -d ${DESTDIR}/usr/include/g++/gen ]; then \ @-if [ ! -d ${DESTDIR}/usr/include/g++/gen ]; then \
mkdir ${DESTDIR}/usr/include/g++/gen; \ mkdir ${DESTDIR}/usr/include/g++/gen; \
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/g++/gen; \ chown ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include/g++/gen; \
chmod 755 ${DESTDIR}/usr/include/g++/gen; \ chmod 755 ${DESTDIR}/usr/include/g++/gen; \
fi fi
@-if [ ! -d ${DESTDIR}/usr/include/g++/sys ]; then \ @-if [ ! -d ${DESTDIR}/usr/include/g++/sys ]; then \
mkdir ${DESTDIR}/usr/include/g++/sys; \ mkdir ${DESTDIR}/usr/include/g++/sys; \
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/g++/sys; \ chown ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include/g++/sys; \
chmod 755 ${DESTDIR}/usr/include/g++/sys; \ chmod 755 ${DESTDIR}/usr/include/g++/sys; \
fi fi
@-for i in ${INCLUDEDIRS}; do \ @-for i in ${INCLUDEDIRS}; do \

View File

@ -4,7 +4,7 @@ NOMAN= noman
afterinstall: afterinstall:
sed -e '/^PROTODIR/s_PROTODIR.*_PROTODIR=${DESTDIR}/usr/include/g++/gen_; s_<VERSION>_2.4_;' $(.CURDIR)/genclass.sh > $(DESTDIR)$(BINDIR)/genclass sed -e '/^PROTODIR/s_PROTODIR.*_PROTODIR=${DESTDIR}/usr/include/g++/gen_; s_<VERSION>_2.4_;' $(.CURDIR)/genclass.sh > $(DESTDIR)$(BINDIR)/genclass
chown ${BINOWN}.${BINGRP} $(DESTDIR)$(BINDIR)/genclass chown ${BINOWN}:${BINGRP} $(DESTDIR)$(BINDIR)/genclass
chmod ${BINMODE} $(DESTDIR)$(BINDIR)/genclass chmod ${BINMODE} $(DESTDIR)$(BINDIR)/genclass
.include <bsd.prog.mk> .include <bsd.prog.mk>