From 076e2a51d7e6032d1d9fff8d1ab438ff5ba8992c Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sun, 22 Jun 2014 21:24:46 -0400 Subject: [PATCH] fix Runtime::locate() to calculate proper runtime directory --- src/lib/src/Runtime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/src/Runtime.cc b/src/lib/src/Runtime.cc index c7d7755..6436739 100644 --- a/src/lib/src/Runtime.cc +++ b/src/lib/src/Runtime.cc @@ -9,7 +9,7 @@ namespace jes 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; switch (type) {