[K42-discussion] Complete build/mambo regress with GIT Makefile.new

Amos Waterland apw at us.ibm.com
Thu Apr 26 12:30:14 EST 2007


On an Unbuntu system the new K42 build system does this:

 ../install/tools/Linux_i686/powerpc/stubgen/stubgen: 29: function: not found
 *** :0::
 *** error:  exited with ::
            :

It turns out stubgen.sh uses the 'function' keyword, which is not
supported by a pure /bin/sh.  I think this patch is safe to go in,
unless anybody has objections.

Signed-off-by: Amos Waterland <apw at us.ibm.com>

---

 stubgen.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/build/shared/stubgen/scripts/stubgen.sh b/tools/build/shared/stubgen/scripts/stubgen.sh
index 2d29f02..61b4fa6 100644
--- a/tools/build/shared/stubgen/scripts/stubgen.sh
+++ b/tools/build/shared/stubgen/scripts/stubgen.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # #######################################################################
 # K42: (C) Copyright IBM Corp. 2000.



More information about the K42-discussion mailing list