summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-26 03:34:50 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-26 03:34:50 +0000
commit4704334eb4fb5a0e5516b6cf76cd5c94d602bf30 (patch)
tree38469069ed0cb28ab0dc23a2d3009b3066aaec04 /Makefile.in
parente8c0c7586956d51f50b2e3378c81b0b3eb899d68 (diff)
downloademacs-4704334eb4fb5a0e5516b6cf76cd5c94d602bf30.tar.gz
(install-arch-indep): Discard extra data in tar | tar pipes.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 15c197cc342..9be5e28b19d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -314,7 +314,8 @@ install-arch-indep: mkdir
[ -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 @@ install-arch-indep: mkdir
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 @@ install-arch-indep: mkdir
&& [ 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)` ]; \