# HG changeset patch # User Richard M. Stallman # Date 872566490 0 # Node ID f2fe77b50fb1b70fd359fe762a2fff17a588b876 # Parent e67f4e6a5a24079a03328c2414d97e7aec53b709 (install-arch-indep): Discard extra data in tar | tar pipes. diff -r e67f4e6a5a24 -r f2fe77b50fb1 Makefile.in --- a/Makefile.in Tue Aug 26 03:25:49 1997 +0000 +++ b/Makefile.in Tue Aug 26 03:34:50 1997 +0000 @@ -314,7 +314,8 @@ [ -d $${dir} ] \ && [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \ && (echo "Copying $${dir} to $${dest}..." ; \ - (cd $${dir}; tar -cf - . )|(cd $${dest};umask 022; tar -xvf - ); \ + (cd $${dir}; tar -cf - . ) \ + |(cd $${dest};umask 022; tar -xvf - && cat > /dev/null); \ for subdir in `find $${dest} -type d ! -name RCS -print` ; do \ rm -rf $${subdir}/RCS ; \ rm -rf $${subdir}/CVS ; \ @@ -333,7 +334,8 @@ if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \ then \ echo "Copying etc/DOC-* to ${docdir} ..." ; \ - (cd ./etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \ + (cd ./etc; tar -cf - DOC*) \ + |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null); \ (cd $(docdir); chmod a+r DOC*; rm DOC) \ else true; fi if [ -r ./lisp ] \ @@ -341,7 +343,8 @@ && [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; \ then \ echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ - (cd lisp; tar -cf - *.el *.elc)|(cd ${lispdir}; umask 0; tar -xvf - ); \ + (cd lisp; tar -cf - *.el *.elc) \ + |(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null); \ else true; fi thisdir=`/bin/pwd`; \ if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \