dorsal team mailing list archive
-
dorsal team
-
Mailing list archive
-
Message #00105
Re: [Branch ~dorsal-core/dorsal/main] Rev 378: Add openSSUE 11.3
On 8/18/10 7:33 PM, Anders Logg wrote:
> On Wed, Aug 18, 2010 at 02:59:43PM +0100, Garth N. Wells wrote:
>> 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, 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?
>>>>
>>>> echo $DISTRO
>>>
>>> :-)
>>>
>>
>> I'm not going to learn bash, so expect more. (Maybe even just to make a
>> point. ;))
>
> I guess the natural next step after we have ported Dorsal to Python
> will be to port it to CMake. ;-)
At which point the original bash project will return as forked branch on
the launchpad page.
Harish
References