Yes you can also do that but since too many scripts are not compliant for now with dash I prefer to change sh default shell.
While I am it, I am also testing on cygwin and it seems now home directory is located in C:\Documents And Settings\My Documents while before it was located in c:\cygwin\home\myuser and scripts don't like it because of spaces. I tried to escape them but with no success, if I have time I will try harder ... # embedded tabs in the sed below -- do not untabify components=`echo "${components}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'` #try to escape path for cygwin users BUILD_DIR=`echo "${BUILD_DIR}" | sed 's/ /\\\\\\ /g'` BASE_DIRECTORY=`echo "${BASE_DIRECTORY}" | sed 's/ /\\\\\\ /g'` Another remark is the fact that when compiling mingw32ce you have to create a directory before to launch mingw32ce.sh while cegcc.sh creates one for you. Maybe it would be interesting to unify behaviors. On Mon, 23 Jun 2008 18:23:05 +0200, janrinze <[EMAIL PROTECTED]> wrote: > Maybe a little off topic but would it not be better to change the script > #!/bin/sh into #!/bin/bash ? > > Just a thought.. > > Jan Rinze. > > On Mon, 2008-06-23 at 10:14 +0200, Mosfet wrote: >> I will check but actually it seems more complicated and finally I have >> >> changed the link sh->dash into sh->bash because >> >> removing function keyword is not enough after some scripts use > pushd/popd >> >> and it's not supported either because its a bash thing. >> >> see here for more info : http://www.lucas-nussbaum.net/blog/?p=274 >> >> >> >> >> >> >> >> >> >> On Sun, 22 Jun 2008 20:03:08 +0200, Danny Backx <[EMAIL PROTECTED]> >> >> wrote: >> >> > Thanks for the info. I've just committed a change. Can you verify it ? >> >> > >> >> > Danny >> >> > >> >> > On Sat, 2008-06-21 at 16:36 +0200, Mosfet wrote: >> >> >> Hi, >> >> >> >> >> >> >> >> >> >> >> >> I am trying to compile cegcc on a ubuntu 8.04 and build-cegcc.sh > doesn't >> >> >> >> >> >> compile. >> >> >> >> >> >> After some research I've learnt that this distro now uses a new shell >> >> >> >> >> >> called dash that is more rescrictive and respect only POSIX. >> >> >> >> >> >> This was a change thas was made for two reasons : >> >> >> >> >> >> >> >> >> >> >> >> 1) dash is smaller and quicker that old sh >> >> >> >> >> >> 2) it's more strict and it forces dev to write more compliant script >> >> > that >> >> >> >> >> >> can run on other systems (BSDs) >> >> >> >> >> >> >> >> >> >> >> >> So when I try the build-cegcc.sh I get the following error : >> >> >> >> >> >> >> >> >> >> >> >> ../build-cegcc.sh: 35: Syntax error: "(" unexpected >> >> >> >> >> >> >> >> >> >> >> >> Actually function is not a posix keyword and not necessary so you > should >> >> >> >> >> >> remove it. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > > ------------------------------------------------------------------------- >> >> >> Check out the new SourceForge.net Marketplace. >> >> >> It's the best place to buy or sell services for >> >> >> just about anything Open Source. >> >> >> http://sourceforge.net/services/buy/index.php >> >> >> _______________________________________________ >> >> >> Cegcc-devel mailing list >> >> >> Cegcc-devel@lists.sourceforge.net >> >> >> https://lists.sourceforge.net/lists/listinfo/cegcc-devel >> >> >> >> >> > >> >> >> > ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Cegcc-devel mailing list >> Cegcc-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/cegcc-devel ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel