diff options
author | Philip Balister <philip@opensdr.com> | 2011-02-01 05:42:36 -0800 |
---|---|---|
committer | Philip Balister <philip@opensdr.com> | 2011-02-01 05:42:36 -0800 |
commit | 781cddee31078e461202c2cf16f3de2f1f236a27 (patch) | |
tree | dcd8e1ff8e696dc00b91b425928a3367f05c9a25 /host/lib/utils | |
parent | cd45fb6be615a6f133e2c62a46f7c5eba76f72c1 (diff) | |
parent | 52e9c8f8027d0bbe1e6b0f57e30f985613e48be2 (diff) | |
download | uhd-781cddee31078e461202c2cf16f3de2f1f236a27.tar.gz uhd-781cddee31078e461202c2cf16f3de2f1f236a27.tar.bz2 uhd-781cddee31078e461202c2cf16f3de2f1f236a27.zip |
Merge branch 'usrp_e100_devel' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e100_devel
Conflicts:
host/lib/usrp/usrp_e100/clock_ctrl.cpp
Diffstat (limited to 'host/lib/utils')
-rw-r--r-- | host/lib/utils/paths.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/utils/paths.cpp b/host/lib/utils/paths.cpp index 93d15d290..8d604d849 100644 --- a/host/lib/utils/paths.cpp +++ b/host/lib/utils/paths.cpp @@ -64,6 +64,7 @@ static std::vector<fs::path> get_env_paths(const std::string &var_name){ //convert to filesystem path, filter blank paths std::vector<fs::path> paths; + if (var_value.empty()) return paths; //FIXME boost tokenizer throws w/ blank strings on some platforms BOOST_FOREACH(const std::string &path_string, path_tokenizer(var_value)){ if (path_string.empty()) continue; paths.push_back(fs::system_complete(path_string)); |