From 10db7fc5e1d4210b5883a759d970f1438d66e397 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 25 May 2000 10:38:04 +0000 Subject: [PATCH] Ignore exit status of `unset CDPATH' everywhwere. On FreeBSD, the exiit status is 1 if CDPATH is not set. --- ChangeLog | 5 +++++ Makefile.in | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0bcbe0efbb8..224c9e264e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-25 Gerd Moellmann + + * Makefile.in: Ignore exit status of `unset CDPATH' everywhere. + On FreeBSD, the exit status is 1 if CDPATH is not set. + 2000-05-20 NIIBE Yutaka * configure.in: Check for grandpt and getpt. diff --git a/Makefile.in b/Makefile.in index cf60eecd2cf..df3ae4b746f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -305,7 +305,7 @@ install-arch-dep: mkdir -chmod 1755 ${bindir}/emacs-${version} rm -f ${bindir}/$(EMACS) -ln ${bindir}/emacs-${version} ${bindir}/$(EMACS) - unset CDPATH; \ + -unset CDPATH; \ for f in `cd lib-src && echo fns-*.el`; do \ ${INSTALL_DATA} lib-src/$$f ${archlibdir}/$$f; \ done @@ -319,7 +319,7 @@ install-arch-dep: mkdir ## as a workaround for a bug in tar on Ultrix 4.2. install-arch-indep: mkdir info -set ${COPYDESTS} ; \ - unset CDPATH; \ + -unset CDPATH; \ for dir in ${COPYDIR} ; do \ if [ `(cd $$1 && /bin/pwd)` != `(cd $${dir} && /bin/pwd)` ] ; then \ rm -rf $$1 ; \ @@ -329,7 +329,7 @@ install-arch-indep: mkdir info -set ${COPYDESTS} ; \ mkdir ${COPYDESTS} ; \ chmod ugo+rx ${COPYDESTS} ; \ - unset CDPATH; \ + -unset CDPATH; \ for dir in ${COPYDIR} ; do \ dest=$$1 ; shift ; \ [ -d $${dir} ] \ @@ -368,7 +368,7 @@ install-arch-indep: mkdir info > ${datadir}/emacs/site-lisp/subdirs.el; \ fi -chmod a+r ${datadir}/emacs/site-lisp/subdirs.el - unset CDPATH; \ + -unset CDPATH; \ if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \ then \ echo "Copying etc/DOC-* to ${docdir} ..." ; \ @@ -376,7 +376,7 @@ install-arch-indep: mkdir info |(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null); \ (cd $(docdir); chmod a+r DOC*; rm DOC); \ else true; fi - unset CDPATH; \ + -unset CDPATH; \ if [ -r ./lisp ] \ && [ -r ./lisp/simple.el ] \ && [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \ @@ -386,7 +386,7 @@ install-arch-indep: mkdir info (cd lisp; tar -cf - *.el *.elc) \ |(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null); \ else true; fi - unset CDPATH; \ + -unset CDPATH; \ thisdir=`/bin/pwd`; \ if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ then \ @@ -458,7 +458,7 @@ uninstall: $(MAKE) $(MFLAGS) uninstall \ prefix=${prefix} exec_prefix=${exec_prefix} \ bindir=${bindir} libexecdir=${libexecdir} archlibdir=${archlibdir}) - unset CDPATH; \ + -unset CDPATH; \ for dir in ${lispdir} ${etcdir} ; do \ if [ -d $${dir} ]; then \ case `(cd $${dir} ; /bin/pwd)` in \ -- 2.39.5