We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2811614 commit d8713ceCopy full SHA for d8713ce
tools/reckless
@@ -1175,10 +1175,11 @@ def _install_plugin(src: InstInfo) -> Union[InstInfo, None]:
1175
log.debug(f'{clone_path} already exists - deleting')
1176
shutil.rmtree(clone_path)
1177
if src.srctype == Source.DIRECTORY:
1178
+ full_source_path = Path(src.source_loc) / src.subdir
1179
log.debug(("copying local directory contents from"
- f" {src.source_loc}"))
1180
+ f" {full_source_path}"))
1181
create_dir(clone_path)
- shutil.copytree(src.source_loc, plugin_path)
1182
+ shutil.copytree(full_source_path, plugin_path)
1183
elif src.srctype in [Source.LOCAL_REPO, Source.GITHUB_REPO,
1184
Source.OTHER_URL, Source.GIT_LOCAL_CLONE]:
1185
# clone git repository to /tmp/reckless-...
0 commit comments