On Thu, Dec 10, 2009 at 9:10 AM, Lucas C. Villa Real
<luca...@gobolinux.org> wrote:
> On Wed, Dec 9, 2009 at 5:58 PM, Jonas Karlsson <cj.karls...@gmail.com> wrote:
>> 2009/12/4  <luca...@svn.gobolinux.org>:
>>> Author: lucasvr
>>> Date: 2009-12-03 20:21:10 -0800 (Thu, 03 Dec 2009)
>>> New Revision: 4158
>>>
>>> Modified:
>>>   trunk/Installer/bin/GoboLinuxInstaller
>>>   trunk/Installer/src/Installer.pro
>>> Log:
>>> Using /System/Links/Shared instead of /Programs/Foo/Version/Shared.
>>>
>>> Modified: trunk/Installer/bin/GoboLinuxInstaller
>>> ===================================================================
>>> --- trunk/Installer/bin/GoboLinuxInstaller      2009-12-04 02:41:43 UTC 
>>> (rev 4157)
>>> +++ trunk/Installer/bin/GoboLinuxInstaller      2009-12-04 04:21:10 UTC 
>>> (rev 4158)
>>> @@ -20,7 +20,7 @@
>>>
>>>  sys.path = ['GraphicalTail'] + sys.path
>>>
>>> -shared = "/Programs/Installer/Current/Shared/Installer/"
>>> +shared = "/System/Links/Shared/Installer/"
>>>
>>>  ###############################################################################
>>>  ###############################################################################
>>
>> Wouldn't it be possible to use $goboShared instead of using a legacy
>> absolute path?
>
> That would be best, indeed. The only thing is that we don't 'source
> GoboPath' before invoking the Installer, so os.getenv("goboFoo") won't
> return anything.
>
> Do we have routines to eval that file from Python yet?
Use getGoboVariable('goboShared') from PythonUtils.

It will access GoboPath by default, or another file if you specify the
filename paremeter. isList=True will return the result as a list in
the same way that ${var[*]} would be split.
-Michael
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to