aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-27 11:48:37 +0000
committerGerd Moellmann2000-12-27 11:48:37 +0000
commit0d44146bb4eed218531637ee3cc0339047ecd98d (patch)
treebc1d83fc25ddb94018b6235c1cb9ce37bc109b72
parent447086241bf9c6d8bcbc1ed77439f1d74c42cc55 (diff)
downloademacs-0d44146bb4eed218531637ee3cc0339047ecd98d.tar.gz
emacs-0d44146bb4eed218531637ee3cc0339047ecd98d.zip
(install-arch-indep): If tar fails, exit with
exit code 1.
-rw-r--r--Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index d65e40fec5c..01e39d8e641 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -338,7 +338,8 @@ install-arch-indep: mkdir info
338 && [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \ 338 && [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \
339 && (echo "Copying $${dir} to $${dest}..." ; \ 339 && (echo "Copying $${dir} to $${dest}..." ; \
340 (cd $${dir}; tar -cf - . ) \ 340 (cd $${dir}; tar -cf - . ) \
341 |(cd $${dest};umask 022; tar -xvf - && cat > /dev/null); \ 341 | (cd $${dest}; umask 022; \
342 tar -xvf - && cat > /dev/null) || exit 1; \
342 for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \ 343 for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \
343 chmod a+rx $${subdir} ; \ 344 chmod a+rx $${subdir} ; \
344 rm -rf $${subdir}/RCS ; \ 345 rm -rf $${subdir}/RCS ; \
@@ -375,7 +376,7 @@ install-arch-indep: mkdir info
375 then \ 376 then \
376 echo "Copying etc/DOC-* to ${docdir} ..." ; \ 377 echo "Copying etc/DOC-* to ${docdir} ..." ; \
377 (cd ./etc; tar -cf - DOC*) \ 378 (cd ./etc; tar -cf - DOC*) \
378 |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null); \ 379 |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \
379 (cd $(docdir); chmod a+r DOC*; rm DOC); \ 380 (cd $(docdir); chmod a+r DOC*; rm DOC); \
380 else true; fi 381 else true; fi
381 -unset CDPATH; \ 382 -unset CDPATH; \
@@ -386,7 +387,7 @@ install-arch-indep: mkdir info
386 then \ 387 then \
387 echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ 388 echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \
388 (cd lisp; tar -cf - *.el *.elc) \ 389 (cd lisp; tar -cf - *.el *.elc) \
389 |(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null); \ 390 |(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \
390 else true; fi 391 else true; fi
391 -unset CDPATH; \ 392 -unset CDPATH; \
392 thisdir=`/bin/pwd`; \ 393 thisdir=`/bin/pwd`; \