fix Runtime::locate() to calculate proper runtime directory
This commit is contained in:
1 parent
bdd28ab362
commit
076e2a51d7
1 file changed
+1
-1
@@ -9,7 +9,7 @@ namespace jes
|
|||||||
|
|
||||||
PathRef Runtime::locate(int type, const std::string & name)
|
PathRef Runtime::locate(int type, const std::string & name)
|
||||||
{
|
{
|
||||||
PathRef path = Core::instance.get_bin_path()->dirname()->join("runtime")->join(runtime_directories[type]);
|
PathRef path = Core::instance.get_bin_path()->dirname()->dirname()->join("runtime")->join(runtime_directories[type]);
|
||||||
PathRef rv = NULL;
|
PathRef rv = NULL;
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user