diff --git a/ChangeLog b/ChangeLog index 2e6ab2bdc..e9b054d0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-11-21 Felix Zielcke + + * Makefile.in (target): Use make's builtin $(shell) function + instead of calling directly $(SHELL) to create the locale directories, + inside the $(foreach) function. + 2009-11-21 Felix Zielcke * util/grub-mkrescue.in: Print an error and usage if output option diff --git a/Makefile.in b/Makefile.in index edc6c3853..d9f107bef 100644 --- a/Makefile.in +++ b/Makefile.in @@ -309,7 +309,7 @@ install-local: all $(INSTALL_DATA) $$dir$$file $(DESTDIR)$(libdir)/grub/$$dest; \ done $(foreach lang, $(LINGUAS), \ - $(SHELL) $(mkinstalldirs) $(DESTDIR)/$(datadir)/locale/$(lang)/LC_MESSAGES \ + $(shell $(mkinstalldirs) $(DESTDIR)/$(datadir)/locale/$(lang)/LC_MESSAGES) \ @list='po/$(lang).mo'; \ for file in $$list; do \ if test -f "$$file"; then dir=; else dir="$(srcdir)/"; fi; \