diff --git a/extensions/commands/cci/cmd_export_all_versions.py b/extensions/commands/cci/cmd_export_all_versions.py index c47156d..0846e59 100644 --- a/extensions/commands/cci/cmd_export_all_versions.py +++ b/extensions/commands/cci/cmd_export_all_versions.py @@ -101,7 +101,7 @@ def export_all_versions(conan_api, parser, *args): folders_to_export = item[recipe_name][0]['folders'] if isinstance(item, dict) else None out.verbose(f"Processing recipe '{recipe_name}'") - recipe_folder = os.path.join(args.path, recipe_name) + recipe_folder = os.path.join(args.path, recipe_name) if args.path is not None else os.path.join(f"{os.getcwd()}/recipes", recipe_name) if not os.path.isdir(recipe_folder): raise ConanException(f"Invalid user input: '{recipe_name}' does not exist or is not a dir")