|
|
Re: compiling t2 on ubuntu 6.10 fails: msg#00040
t2.devel
|
Subject: |
Re: compiling t2 on ubuntu 6.10 fails |
Rene Rebe schrieb:
Heh I feared so, which bash version do you have install? bash --version
volker@eos doc > bash --version
GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
Hm, strange. I wonder if the Debian bash defaults to some more POSIX
compliant mode without bash extensions ...
Anyway, I wanted to convert the substitution to a posix supported one and
noticed it is totally superfluous. Can you try if this patch helps:
Index: scripts/Build-Tools
===================================================================
--- scripts/Build-Tools (revision 22942)
+++ scripts/Build-Tools (working copy)
@@ -204,7 +204,7 @@
cat << EOT > build/$SDECFG_ID/TOOLCHAIN/$toolsdir/wrapper/uname.$$
#!/bin/bash
-arch=\$(echo \${arch_machine//-*/} | sed -e 's/sparcv.*/sparc/' -e 's/powerpc/ppc/')
+arch=\$(echo \${arch_machine} | sed -e 's/sparcv.*/sparc/' -e 's/powerpc/ppc/')
echo "You should not call uname during the build!" >&2
if [ -z "\$1" ]; then
Yours,
Sorry,
wouldn't help :-( same output as before.
--
Volker Jahns, volker@xxxxxxxxxxx
|
|