Permalink
Browse files

* Makefile.in (install-arch-indep): Avoid eval.

  • Loading branch information...
andreas-schwab committed Jul 31, 2012
1 parent ac34467 commit 703d2458945d49cf25a55b1c7c400778f46d77f8
Showing with 9 additions and 2 deletions.
  1. +4 −0 ChangeLog
  2. +5 −2 Makefile.in
View
@@ -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.
View
@@ -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); \

0 comments on commit 703d245

Please sign in to comment.