From 41a5569e08ed6834c2eb89507a649cd608722559 Mon Sep 17 00:00:00 2001 From: Aaron Rossetto Date: Fri, 15 May 2020 10:20:27 -0500 Subject: 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. --- host/utils/rfnoc_image_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): -- cgit v1.2.3