diff options
author | Josh Blum <josh@joshknows.com> | 2013-01-23 04:45:57 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2013-01-23 04:45:57 -0800 |
commit | 1c21d1bc22e35bdb4b91450656974148d11519e0 (patch) | |
tree | d60bde38980ce2dacc576112996b4f9779edfa4a /host/lib/utils/paths.cpp | |
parent | 190b4328b82c54985c6ca9fed948dcabe9a174db (diff) | |
parent | 6b2a2128426f0f17b6375a39efb37d7202f78574 (diff) | |
download | uhd-1c21d1bc22e35bdb4b91450656974148d11519e0.tar.gz uhd-1c21d1bc22e35bdb4b91450656974148d11519e0.tar.bz2 uhd-1c21d1bc22e35bdb4b91450656974148d11519e0.zip |
Merge branch 'fhs_work'
Diffstat (limited to 'host/lib/utils/paths.cpp')
-rw-r--r-- | host/lib/utils/paths.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/utils/paths.cpp b/host/lib/utils/paths.cpp index 26fa6d1c7..53055314b 100644 --- a/host/lib/utils/paths.cpp +++ b/host/lib/utils/paths.cpp @@ -71,20 +71,20 @@ static std::vector<fs::path> get_env_paths(const std::string &var_name){ /*********************************************************************** * Get a list of special purpose paths **********************************************************************/ -std::string uhd::get_pkg_data_path(void) +std::string uhd::get_pkg_path(void) { - return get_env_var("UHD_PKG_DATA_PATH", UHD_PKG_DATA_PATH); + return get_env_var("UHD_PKG_PATH", UHD_PKG_PATH); } std::vector<fs::path> get_image_paths(void){ std::vector<fs::path> paths = get_env_paths("UHD_IMAGE_PATH"); - paths.push_back(fs::path(uhd::get_pkg_data_path()) / "images"); + paths.push_back(fs::path(uhd::get_pkg_path()) / "share" / "uhd" / "images"); return paths; } std::vector<fs::path> get_module_paths(void){ std::vector<fs::path> paths = get_env_paths("UHD_MODULE_PATH"); - paths.push_back(fs::path(uhd::get_pkg_data_path()) / "modules"); + paths.push_back(fs::path(uhd::get_pkg_path()) / UHD_LIB_DIR / "uhd" / "modules"); return paths; } |