aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2015-02-11 16:28:35 -0800
committerBen Hilburn <ben.hilburn@ettus.com>2015-02-11 16:28:35 -0800
commit08267a8c0264e08fe6631ce2ede0ec2c2933463f (patch)
tree4e65d128fcc7f3888880f54863a2b2831965364a /host/lib/utils
parentb10c9dd446f0b0567e6b16add0fc8004d465d76e (diff)
downloaduhd-08267a8c0264e08fe6631ce2ede0ec2c2933463f.tar.gz
uhd-08267a8c0264e08fe6631ce2ede0ec2c2933463f.tar.bz2
uhd-08267a8c0264e08fe6631ce2ede0ec2c2933463f.zip
Creating the $UHD_CONFIG_DIR env var, here used for custom cal data storage.
This is a renaming of the previously created $UHDCALIBPATH.
Diffstat (limited to 'host/lib/utils')
-rw-r--r--host/lib/utils/paths.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/utils/paths.cpp b/host/lib/utils/paths.cpp
index 235c2607d..88bd25fbd 100644
--- a/host/lib/utils/paths.cpp
+++ b/host/lib/utils/paths.cpp
@@ -173,7 +173,7 @@ std::string uhd::get_tmp_path(void){
}
std::string uhd::get_app_path(void){
- const std::string uhdcalib_path = get_env_var("UHDCALIBPATH");
+ const std::string uhdcalib_path = get_env_var("UHD_CONFIG_DIR");
if (not uhdcalib_path.empty()) return uhdcalib_path;
const std::string appdata_path = get_env_var("APPDATA");