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,