From 84cbc80eb2a23f3c519a80429357f277d3973732 Mon Sep 17 00:00:00 2001 From: v4n <105587619+v4n00@users.noreply.github.com> Date: Tue, 16 Sep 2025 14:53:31 +0300 Subject: [PATCH] fix: pick variant empty folder --- h2mm | 5 +++-- version | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/h2mm b/h2mm index 6810fdb..af29f31 100755 --- a/h2mm +++ b/h2mm @@ -1,7 +1,7 @@ #!/usr/bin/env bash -VERSION="0.6.11" +VERSION="0.6.12" # --- Globals --- @@ -922,8 +922,9 @@ function mod_install() { # filter so that we only have dirs that have *.patch_* files inside them filtered_dirs=() for dir in "${all_dirs[@]}"; do - if find "$dir" -type f -name "*.patch_*" -print -quit | grep -q .; then + if find "$dir" -maxdepth 1 -type f -name "*.patch_*" -print -quit | grep -q .; then filtered_dirs+=("$dir") + log INFO "Filtered dir: $dir" fi done diff --git a/version b/version index 45a346d..592e815 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.6.11 +0.6.12