summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-04 03:55:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-04 03:55:35 +0000
commit1c7a04b100e154897708f1a8186e6ebdf4d7a7ec (patch)
treea87574809d0a18d9654b55c746407a5adad06631 /gnu/usr.bin
parentf43b7248e3fe35aa85cc2163e56c26b11c3fcbc5 (diff)
fix cmp of g++ include files
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/gcc/Makefile.bsd-wrapper5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/gcc/Makefile.bsd-wrapper b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
index 6fd7f77b761..a57f125015f 100644
--- a/gnu/usr.bin/gcc/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.31 1998/03/03 21:14:24 niklas Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.32 1998/03/04 03:55:34 millert Exp $
MAN= cccp.1 gcc.1 cp/g++.1 f/g77.1
MLINKS+= gcc.1 cc.1
@@ -55,7 +55,8 @@ config.status: Makefile.in configure c-parse.in
includes:
@-for i in ${CXX_HEADERS}; do \
- cmp -s $$i ${DESTDIR}/${GPP_INC_DIR}/$$i || \
+ j=`basename $$i` \
+ cmp -s $$i ${DESTDIR}/${GPP_INC_DIR}/$$j || \
${INSTALL} ${INSTALL_COPY} -m 444 $$i \
${DESTDIR}/${GPP_INC_DIR}; \
done