aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2020-05-15 10:20:27 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-05-15 11:17:08 -0500
commit41a5569e08ed6834c2eb89507a649cd608722559 (patch)
treec59ed355be60f27d8e041f7d768fda7bd0a6e0d5 /host/utils
parent260679e7fbbb87fc84c3f032fbf2c9f13bda6c71 (diff)
downloaduhd-41a5569e08ed6834c2eb89507a649cd608722559.tar.gz
uhd-41a5569e08ed6834c2eb89507a649cd608722559.tar.bz2
uhd-41a5569e08ed6834c2eb89507a649cd608722559.zip
utils: Correct relative path to config dir in rfnoc_image_builder
In commit 6a488d32, the RFNoC image builder module was moved from the host/utils/bin subdirectory to host/utils. That move rendered the relative path to the configuration directory in `get_config_path()` incorrect. This commit fixes the relative path specification of the configuration directory to reflect the new location of the Python script.
Diffstat (limited to 'host/utils')
-rwxr-xr-xhost/utils/rfnoc_image_builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/rfnoc_image_builder.py b/host/utils/rfnoc_image_builder.py
index 3fa1ce6f4..47d5060a8 100755
--- a/host/utils/rfnoc_image_builder.py
+++ b/host/utils/rfnoc_image_builder.py
@@ -152,7 +152,7 @@ def get_config_path():
:return: Configuration path
"""
return os.path.normpath(resolve_path("@CONFIG_PATH@", os.path.join(
- os.path.dirname(__file__), '..', '..', 'include', 'uhd')))
+ os.path.dirname(__file__), '..', 'include', 'uhd')))
def main():