On Wed, 2010-08-18 at 15:50 +0200, Anders Logg wrote: > On Wed, Aug 18, 2010 at 07:19:36PM +0530, Harish Narayanan wrote: > > On 8/18/10 7:17 PM, Garth N. Wells wrote: > > > On Wed, 2010-08-18 at 19:10 +0530, Harish Narayanan wrote: > > >> On 8/18/10 7:08 PM, Garth N. Wells wrote: > > >>> On Wed, 2010-08-18 at 19:03 +0530, Harish Narayanan wrote: > > >>>> On 8/18/10 6:54 PM, Garth N. Wells wrote: > > >>>>> On Wed, 2010-08-18 at 13:16 +0000, [email protected] wrote: > > >>>>>> ------------------------------------------------------------ > > >>>>>> revno: 378 > > >>>>>> committer: Garth N. Wells <[email protected]> > > >>>>>> branch nick: dorsal > > >>>>>> timestamp: Wed 2010-08-18 14:14:01 +0100 > > >>>>>> message: > > >>>>>> Add openSSUE 11.3 > > >>>>> > > >>>>> Unfortunately this doesn't work. > > >>>> > > >>>> I think this is because the relevant platform file is missing. > > >>>> > > >>> > > >>> I have it - just haven't pushed it yet. > > >>> > > >>>>> How can I get some screen output from inside the function > > >>>>> 'guess_platform' in dorsal.sh? > > >>>> > > >>>> You can't use echo as usual because there is a line outside that > > >>>> catches > > >>>> whatever it prints. > > >>>> > > >>>> PLATFORM=${PROJECT}/platforms/`guess_platform`.platform > > >>>> > > >>>> Instead, just insert a guess_platform anywhere, so it will print > > >>>> whatever guess_platform prints. > > >>>> > > >>> > > >>> I prints nothing - that's why I need to somehow debug the function. How > > >>> can I do that if I can't print anything? > > >> > > >> I guess this means none of the case branches are being followed. Just do > > >> an echo right at the top somewhere and it should print (if called). > > >> > > > > > > It is being called - how can I print, for example, "DISTRO" to check it? > > > > echo $DISTRO > > :-) >
I'm not going to learn bash, so expect more. (Maybe even just to make a point. ;)) Garth > -- > Anders _______________________________________________ Mailing list: https://launchpad.net/~dorsal Post to : [email protected] Unsubscribe : https://launchpad.net/~dorsal More help : https://help.launchpad.net/ListHelp

