aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/paths.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-02-16 18:21:44 -0800
committerMartin Braun <martin.braun@ettus.com>2018-02-20 16:23:46 -0800
commita99e89a689490aa03e2bbd8153b61e394cd55a6e (patch)
treedb28c00c4d5b44bba918eb4fc52a6683e52fa181 /host/lib/utils/paths.cpp
parent2ff296c99760628c4b0042cf6d2b32a0e3986364 (diff)
downloaduhd-a99e89a689490aa03e2bbd8153b61e394cd55a6e.tar.gz
uhd-a99e89a689490aa03e2bbd8153b61e394cd55a6e.tar.bz2
uhd-a99e89a689490aa03e2bbd8153b61e394cd55a6e.zip
lib: Add path_expandvars() internal API call
Diffstat (limited to 'host/lib/utils/paths.cpp')
-rw-r--r--host/lib/utils/paths.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/utils/paths.cpp b/host/lib/utils/paths.cpp
index d609e254f..8a7ba001f 100644
--- a/host/lib/utils/paths.cpp
+++ b/host/lib/utils/paths.cpp
@@ -8,6 +8,7 @@
#include <uhd/config.hpp>
#include <uhd/exception.hpp>
#include <uhd/utils/paths.hpp>
+#include <uhdlib/utils/paths.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/bind.hpp>
@@ -96,6 +97,7 @@ static std::vector<std::string> get_env_paths(const std::string &var_name){
}
#ifndef UHD_PLATFORM_WIN32
+// NOTE: This could be replaced by path_expandvars()
/*! Expand a tilde character to the $HOME path.
*
* The path passed to this function must start with the tilde character in order