Skip to content

Commit

Permalink
Merge pull request #48 from ngeiswei/default-modules-path-hack
Browse files Browse the repository at this point in the history
Add hack to run the cogserver from scripts/run_cogserver.sh
  • Loading branch information
ngeiswei committed May 26, 2016
2 parents e76d2f7 + aae8422 commit d9369f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions opencog/util/files.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ static const std::vector<std::string> paths =
"../../../",
"../../../../", // some unit tests need this
#endif // !WIN32
// This is useful for loading the cogserver from repository root
// or scripts directories
"build/",
"../build/",
CMAKE_INSTALL_PREFIX "/lib",
CMAKE_INSTALL_PREFIX "/share",
DATADIR, // this too is an install dir
Expand Down

0 comments on commit d9369f0

Please sign in to comment.