Mercurial > emacs
changeset 34864:b518b83f61f0
(install-arch-indep): If tar fails, exit with
exit code 1.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 27 Dec 2000 11:48:37 +0000 |
parents | 3ce84dcc97d3 |
children | 4a9557e39356 |
files | Makefile.in |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Wed Dec 27 05:25:52 2000 +0000 +++ b/Makefile.in Wed Dec 27 11:48:37 2000 +0000 @@ -338,7 +338,8 @@ && [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \ && (echo "Copying $${dir} to $${dest}..." ; \ (cd $${dir}; tar -cf - . ) \ - |(cd $${dest};umask 022; tar -xvf - && cat > /dev/null); \ + | (cd $${dest}; umask 022; \ + tar -xvf - && cat > /dev/null) || exit 1; \ for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \ chmod a+rx $${subdir} ; \ rm -rf $${subdir}/RCS ; \ @@ -375,7 +376,7 @@ then \ echo "Copying etc/DOC-* to ${docdir} ..." ; \ (cd ./etc; tar -cf - DOC*) \ - |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null); \ + |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \ (cd $(docdir); chmod a+r DOC*; rm DOC); \ else true; fi -unset CDPATH; \ @@ -386,7 +387,7 @@ then \ echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ (cd lisp; tar -cf - *.el *.elc) \ - |(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null); \ + |(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \ else true; fi -unset CDPATH; \ thisdir=`/bin/pwd`; \