]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Use autoconf's preferred shell when invoking config.status.
authorBruno Haible <bruno@clisp.org>
Fri, 27 Feb 2009 20:07:34 +0000 (20:07 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:16:02 +0000 (12:16 +0200)
gettext-runtime/po/ChangeLog
gettext-runtime/po/Makefile.in.in
gettext-tools/po/ChangeLog
gettext-tools/po/Makefile.in.in

index 121f04d5a0140e6f1e6dda51c49c587194e541ee..dee51be9b2de4af87476c0feb4f53bddc62459d1 100644 (file)
@@ -1,3 +1,8 @@
+2009-02-27  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.in.in (Makefile): Use @SHELL@, not $(SHELL).
+       Reported by Scott James Remnant <scott@ubuntu.com>.
+
 2009-01-18  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.in.in (.po.gmo): Pass --verbose to msgfmt when producing
index 357d7e5ace8cc7e56c9657fe1bcf4fabd321f05c..1899390c638d7190b6ad2984265259c32efbd0f5 100644 (file)
@@ -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:
 
index 22bd64cab259cb09725faa92f4e8d6866767fa2c..0decd41b893278d9ca90ea18a39e95d1ca1b627f 100644 (file)
@@ -1,3 +1,8 @@
+2009-02-27  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.in.in (Makefile): Use @SHELL@, not $(SHELL).
+       Reported by Scott James Remnant <scott@ubuntu.com>.
+
 2009-01-18  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.in.in (.po.gmo): Pass --verbose to msgfmt when producing
index 357d7e5ace8cc7e56c9657fe1bcf4fabd321f05c..1899390c638d7190b6ad2984265259c32efbd0f5 100644 (file)
@@ -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: