← Back to team overview

dorsal team mailing list archive

Re: [Branch ~dorsal-core/dorsal/main] Rev 378: Add openSSUE 11.3

 

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, noreply@xxxxxxxxxxxxx wrote:
> >>>> ------------------------------------------------------------
> >>>> revno: 378
> >>>> committer: Garth N. Wells <gnw20@xxxxxxxxx>
> >>>> 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?

Garth  

> > Ever considered Python-ising Dorsal?? ;)
> 
> Never! (:
> 
> Harish





Follow ups

References