diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-07-31 09:58:08 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-07-31 09:58:08 +0200 |
commit | 57ae02b1db359c1d00baf7b4323e2bb313f0fd8c (patch) | |
tree | ed0e266f5087b620052d670f55b3130f6a07c513 /Makefile.in | |
parent | b9031d6911eec0b9ea6b3bed19437d7a052debcc (diff) | |
download | emacs-57ae02b1db359c1d00baf7b4323e2bb313f0fd8c.tar.gz |
* Makefile.in (install-arch-indep): Avoid eval.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 89c06cce16e..ab9f16c0353 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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); \ |