Hi all,

I'm testing to Compile a program with goboInstall pointing out
of /Programs, and PreparePrograms get confused with that, i found the
following problem:

first PrepareProgram does its work fine, it set $installdir and
$programdir correctly
        $installdir=/Depot/Programs/Lua-FS/1.0
        $programdir=/Programs/Lua-FS/1.0

PrepareProgram does that with this call:
>>>>> Dir_Set Install && installdir=`Get_Dir install "$programname"
"$versionnumber"`

but then, into first Boolean "tree" conditional it calls again:

>>>>>   Dir_Set Install && installdir=`Get_Dir install '' ''` ||
>>>>> Verify_Superuser

and $installdir is set to /Depot/Programs!!!

from this point PrepareProgram creates all the program tree
under /Depot/Programs (/D/P/man, /D/P/bin, ...) and symlinks
under /Program/Lua-FS/0.1 goes to /Depot/Program.

Is needed that second call to Get_Dir install? should not be it with
the program name and the version number?

I'm not able yet to understand Get_Dir :).
His code is very strange :).

Greets.

-- 
... Bardulia quae nunc vocatur Castella ...

_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to