fix: module_required-Erkennung + subshell-safe OMERON_MODULE_DIR + collect_modules existence-check

- collect_all_interactive: module VOR declare -F sourcen (erstes Modul wurde nie
  als required erkannt, sondern immer mit tui_confirm nachgefragt)
- OMERON_MODULE_DIR exportieren (Subshell von <(...) könnte sonst leeren Wert
  haben → Module nicht gefunden)
- collect_modules (--modules): auch hier file-existence prüfen
This commit is contained in:
2026-05-27 21:11:18 +02:00
parent 7ab1a466cc
commit fa17585afc
2 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env bash
OMERON_MODULE_DIR="${OMERON_MODULE_DIR:-$OMERON_PROJECT_DIR/modules}"
export OMERON_MODULE_DIR
module_list() {
local category="${1:-}"