summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-05-25 10:38:04 +0000
committerGerd Moellmann <gerd@gnu.org>2000-05-25 10:38:04 +0000
commit10db7fc5e1d4210b5883a759d970f1438d66e397 (patch)
treed42e67f46aa93972d3442da9a3c9251e3a610928
parent68b283cca6467f8e2a343b13f80658174e1fcc3c (diff)
downloademacs-10db7fc5e1d4210b5883a759d970f1438d66e397.tar.gz
emacs-10db7fc5e1d4210b5883a759d970f1438d66e397.tar.bz2
emacs-10db7fc5e1d4210b5883a759d970f1438d66e397.zip
Ignore exit status of `unset CDPATH' everywhwere.
On FreeBSD, the exiit status is 1 if CDPATH is not set.
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.in14
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 <gerd@gnu.org>
+
+ * 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 <gniibe@mri.co.jp>
* 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 \