]> git.eshelyaron.com Git - emacs.git/commitdiff
(install-arch-indep): Don't die if site-lisp/ isn't writable.
authorKarl Heuer <kwzh@gnu.org>
Mon, 1 Jun 1998 03:46:31 +0000 (03:46 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 1 Jun 1998 03:46:31 +0000 (03:46 +0000)
Makefile.in

index 40de0d3d63da1570bf184e7710110c53149508a0..7b78f9c0255d9481ea93957afb7c1ea82f3976e7 100644 (file)
@@ -346,14 +346,14 @@ install-arch-indep: mkdir
            > ${datadir}/emacs/${version}/site-lisp/subdirs.el; \
        fi
        chmod a+r ${datadir}/emacs/${version}/site-lisp/subdirs.el
-       if [ -f ${datadir}/emacs/site-lisp/subdirs.el ]; \
+       -if [ -f ${datadir}/emacs/site-lisp/subdirs.el ]; \
        then true; \
        else \
          (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \
           echo "    (normal-top-level-add-subdirs-to-load-path))") \
            > ${datadir}/emacs/site-lisp/subdirs.el; \
        fi
-       chmod a+r ${datadir}/emacs/site-lisp/subdirs.el
+       -chmod a+r ${datadir}/emacs/site-lisp/subdirs.el
        if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
        then \
           echo "Copying etc/DOC-* to ${docdir} ..." ; \