From 1c7a04b100e154897708f1a8186e6ebdf4d7a7ec Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 4 Mar 1998 03:55:35 +0000 Subject: fix cmp of g++ include files --- gnu/usr.bin/gcc/Makefile.bsd-wrapper | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3