sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master sorcery by Ismael Luceno (b6884b1ce020601a21a4104729697cb6a855fb75)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master sorcery by Ismael Luceno (b6884b1ce020601a21a4104729697cb6a855fb75)
- Date: Wed, 19 Aug 2026 23:58:45 +0000
GIT changes to master sorcery by Ismael Luceno <ismael AT sourcemage.org>:
var/lib/sorcery/modules/libcodex | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
New commits:
commit b6884b1ce020601a21a4104729697cb6a855fb75
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
libcodex: Fix matching of instances to the right slot's config
diff --git a/var/lib/sorcery/modules/libcodex
b/var/lib/sorcery/modules/libcodex
index 7fd2531..19ae998 100755
--- a/var/lib/sorcery/modules/libcodex
+++ b/var/lib/sorcery/modules/libcodex
@@ -798,7 +798,14 @@ codex_get_spell_paths() {
smgl_basename "$GRIMOIRE" GRIMOIRE_NAME
fi
smgl_basename "$SPELL_DIRECTORY" SPELL
- SPELL_CONFIG="$DEPENDS_CONFIG/$SPELL"
+ local __cgsp_spell
+ if slot_undisk_tag "$SPELL_DISK_TAG" __cgsp_spell &&
+ [[ $__cgsp_spell == "$SPELL" ]]
+ then
+ SPELL_CONFIG="$DEPENDS_CONFIG/$SPELL_DISK_TAG"
+ else
+ SPELL_CONFIG="$DEPENDS_CONFIG/$SPELL"
+ fi
return 0
}
- [[SM-Commit] ] GIT changes to master sorcery by Ismael Luceno (b6884b1ce020601a21a4104729697cb6a855fb75), Ismael Luceno, 08/19/2026
Archive powered by MHonArc 2.6.24.