]> git.eshelyaron.com Git - emacs.git/commitdiff
* Makefile.in (install-arch-indep): Minor fix for earlier change.
authorGlenn Morris <rgm@gnu.org>
Fri, 18 May 2012 07:34:10 +0000 (00:34 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 18 May 2012 07:34:10 +0000 (00:34 -0700)
Makefile.in

index a24e40f1236739131a5c48921b4931f9bd36e76c..3b66db4e8c5315a837672f23fbcb6a8c3f93b36f 100644 (file)
@@ -539,7 +539,8 @@ install-arch-indep: info install-etc install-leim
        for dir in ${COPYDIR} ; do \
          [ -d $${dir} ] || exit 1 ; \
          dest=$$1 ; shift ; \
-         [ `(cd $${dest} && /bin/pwd)` = `(cd $${dir} && /bin/pwd)` ] && \
+         [ -d $${dest} ] && \
+           [ `(cd $${dest} && /bin/pwd)` = `(cd $${dir} && /bin/pwd)` ] && \
            continue ; \
          rm -rf $${dest} ; \
          umask 022; ${MKDIR_P} $${dest} ; \