fix path error on PackageFileHandle

This commit is contained in:
lxsang 2020-08-04 20:00:34 +02:00
parent b1649016f4
commit 2b67084392

View File

@ -1337,10 +1337,10 @@ namespace OS {
} }
else { else {
// get the correct path of the package // get the correct path of the package
pkg_name = this.genealogy[0]; pkg_name = this.genealogy.shift();
if(OS.setting.system.packages[pkg_name]) if(OS.setting.system.packages[pkg_name])
{ {
this.setPath(OS.setting.system.packages[pkg_name].path); this.setPath(OS.setting.system.packages[pkg_name].path + "/" + this.genealogy.join("/"));
} }
else else
{ {