From 0364282eb2cafc0e6fd665dc0002a1ec96048966 Mon Sep 17 00:00:00 2001 From: Alex Myers Date: Thu, 17 Jul 2025 16:23:24 -0500 Subject: [PATCH] reckless: correct direct install from local repo subdirectory --- tools/reckless | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/reckless b/tools/reckless index 97fa1b2c5..880ea8d34 100755 --- a/tools/reckless +++ b/tools/reckless @@ -1398,13 +1398,13 @@ def install(plugin_name: str) -> Union[str, None]: src = None if direct_location: logging.debug(f"install of {name} requested from {direct_location}") - src = InstInfo(name, direct_location, None) - if not src.get_inst_details(): - src = None + src = InstInfo(name, direct_location, name) # Treating a local git repo as a directory allows testing # uncommitted changes. if src and src.srctype == Source.LOCAL_REPO: src.srctype = Source.DIRECTORY + if not src.get_inst_details(): + src = None if not direct_location or not src: log.debug(f"Searching for {name}") if search(name):