Mercurial > emacs
changeset 19534:f2fe77b50fb1
(install-arch-indep): Discard extra data in tar | tar pipes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 26 Aug 1997 03:34:50 +0000 |
parents | e67f4e6a5a24 |
children | e9d8fcec9843 |
files | Makefile.in |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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)` ]; \