From 1dcf3cb47aad1ede88b69426d3bef0ebe894219c Mon Sep 17 00:00:00 2001 From: Wildan M Date: Wed, 15 Jul 2026 15:06:18 +0700 Subject: [PATCH] Fix adding subcategory to category.sh --- scripts/category.sh | 3 ++- src/bin/repo.rs | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/category.sh b/scripts/category.sh index 0cc6f98f5..d8642173a 100755 --- a/scripts/category.sh +++ b/scripts/category.sh @@ -11,4 +11,5 @@ then exit 1 fi -make "${1#-}"."--category-$2" +# Cookbook accept "." as replacement to "/" +make "${1#-}"."--category-${2//\//.}" diff --git a/src/bin/repo.rs b/src/bin/repo.rs index 84fa49656..02eb8602f 100644 --- a/src/bin/repo.rs +++ b/src/bin/repo.rs @@ -475,7 +475,9 @@ fn parse_args(args: Vec) -> Result<(CliConfig, CliCommand, Vec override_filesystem_repo_binary = true,