Subversion Repositories RiscPkg

Compare Revisions

Ignore whitespace Rev 111 → Rev 112

/trunk/!RiscPkg/riscpkg.cc
215,6 → 215,18
pkg::canonicalise("<RiscPkg$Dir>.Resources.!Packages");
if ((apath!=dpath)&&(pkg::object_type(apath)!=0))
{
// If the package database exists, but does not contain a
// Paths file, and a Paths file does exist in the choices
// directory (as used by previous versions of RiscPkg)
// then copy it across.
string pb_ppath=apath+string(".Paths");
string ch_ppath("Choices:RiscPkg.Paths");
if ((pkg::object_type(pb_ppath)==0)&&
(pkg::object_type(ch_ppath)!=0))
{
pkg::copy_object(ch_ppath,pb_ppath);
}
 
// Attempt to access package database.
_pb=new pkgbase("<Packages$Dir>","<RiscPkg$Dir>.Resources",
"Choices:RiscPkg");