From: Bruno Haible Date: Fri, 27 Feb 2009 20:07:34 +0000 (+0000) Subject: Use autoconf's preferred shell when invoking config.status. X-Git-Tag: v0.18~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f12d1cd1d765dd7bf20986d3882884b561ee8820;p=thirdparty%2Fgettext.git Use autoconf's preferred shell when invoking config.status. --- diff --git a/gettext-runtime/po/ChangeLog b/gettext-runtime/po/ChangeLog index 121f04d5a..dee51be9b 100644 --- a/gettext-runtime/po/ChangeLog +++ b/gettext-runtime/po/ChangeLog @@ -1,3 +1,8 @@ +2009-02-27 Bruno Haible + + * Makefile.in.in (Makefile): Use @SHELL@, not $(SHELL). + Reported by Scott James Remnant . + 2009-01-18 Bruno Haible * Makefile.in.in (.po.gmo): Pass --verbose to msgfmt when producing diff --git a/gettext-runtime/po/Makefile.in.in b/gettext-runtime/po/Makefile.in.in index 357d7e5ac..1899390c6 100644 --- a/gettext-runtime/po/Makefile.in.in +++ b/gettext-runtime/po/Makefile.in.in @@ -431,9 +431,13 @@ $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: +# Recreate Makefile by invoking config.status. Explicitly invoke the shell, +# because execution permission bits may not work on the current file system. +# Use @SHELL@, which is the shell determined by autoconf for the use by its +# scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ - && $(SHELL) ./config.status $(subdir)/$@.in po-directories + && @SHELL@ ./config.status $(subdir)/$@.in po-directories force: diff --git a/gettext-tools/po/ChangeLog b/gettext-tools/po/ChangeLog index 22bd64cab..0decd41b8 100644 --- a/gettext-tools/po/ChangeLog +++ b/gettext-tools/po/ChangeLog @@ -1,3 +1,8 @@ +2009-02-27 Bruno Haible + + * Makefile.in.in (Makefile): Use @SHELL@, not $(SHELL). + Reported by Scott James Remnant . + 2009-01-18 Bruno Haible * Makefile.in.in (.po.gmo): Pass --verbose to msgfmt when producing diff --git a/gettext-tools/po/Makefile.in.in b/gettext-tools/po/Makefile.in.in index 357d7e5ac..1899390c6 100644 --- a/gettext-tools/po/Makefile.in.in +++ b/gettext-tools/po/Makefile.in.in @@ -431,9 +431,13 @@ $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: +# Recreate Makefile by invoking config.status. Explicitly invoke the shell, +# because execution permission bits may not work on the current file system. +# Use @SHELL@, which is the shell determined by autoconf for the use by its +# scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ - && $(SHELL) ./config.status $(subdir)/$@.in po-directories + && @SHELL@ ./config.status $(subdir)/$@.in po-directories force: