[Libreoffice-commits] .: solenv/gbuild

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 27 06:02:31 PDT 2012


 solenv/gbuild/gbuild.mk |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 8c20367a2e6d61f830f6dc336761909e38a6bcca
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Thu Sep 27 07:56:12 2012 -0500

    gbuild: allow for SHELL to be set by the env variable gb_SHELL
    
    This allow to build using a non bash shell on system for which
    /bin/sh is bash
    
    Change-Id: I276c777d1fca20858219ac95457a367300644b16

diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
index 0f11ea0..ee2f985 100644
--- a/solenv/gbuild/gbuild.mk
+++ b/solenv/gbuild/gbuild.mk
@@ -48,7 +48,16 @@ GBUILDDIR:=$(SRCDIR)/solenv/gbuild
 
 .DELETE_ON_ERROR:
 
+# by default gbuild use /bin/sh
+# if you want to use a particular shell
+# you can export gb_SHELL=<path_to_shell>
+#
+ifdef gb_SHELL
+SHELL := $(gb_SHELL)
+else
 SHELL := /bin/sh
+endif
+
 true := T
 false :=
 define NEWLINE


More information about the Libreoffice-commits mailing list