]> git.eshelyaron.com Git - emacs.git/commitdiff
* Makefile.in (install-arch-indep): Avoid eval.
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 31 Jul 2012 07:58:08 +0000 (09:58 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 31 Jul 2012 07:58:08 +0000 (09:58 +0200)
ChangeLog
Makefile.in

index 6250248c305f5b7b4ff7c65863f0a39ce2b1dcb9..0b1660ef853966ec2c4b0d06f7a42d28084237a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * Makefile.in (install-arch-indep): Avoid eval.
+
 2012-07-31  Glenn Morris  <rgm@gnu.org>
 
        * configure.ac (opsysfile, S_FILE): Now they are always empty.
index 89c06cce16e3e2facb33fcb1233b97b97e937e3c..ab9f16c0353a85a4e5040da3269685345a21ac29 100644 (file)
@@ -495,8 +495,11 @@ set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \
 ## http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00005.html
 install-arch-indep: install-info install-man ${INSTALL_ARCH_INDEP_EXTRA}
        umask 022 ; \
-         eval $(MKDIR_P) \
-           "'$(DESTDIR)`echo ${locallisppath}|sed \"s,:,' '$(DESTDIR),g\"`'"
+       locallisppath='${locallisppath}'; \
+       IFS=:; \
+       for d in $$locallisppath; do \
+         ${MKDIR_P} "$(DESTDIR)$$d"; \
+       done
        -set ${COPYDESTS} ; \
        unset CDPATH; \
        $(set_installuser); \