sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Andrew Stitt (91821f4bedf51a11496bcde43dc29129ba47127e)
- From: Andrew Stitt <scm AT mail.sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master sorcery by Andrew Stitt (91821f4bedf51a11496bcde43dc29129ba47127e)
- Date: Mon, 21 Aug 2006 10:45:16 -0500
GIT changes to master sorcery by Andrew Stitt <astitt AT sourcemage.org>:
ChangeLog | 7 +++++--
var/lib/sorcery/modules/libspell | 6 ++++--
2 files changed, 9 insertions(+), 4 deletions(-)
New commits:
commit 91821f4bedf51a11496bcde43dc29129ba47127e
Author: Andrew Stitt <astitt AT sourcemage.org>
Commit: Andrew Stitt <astitt AT sourcemage.org>
propagate failures from file sourcing properly, fix date in changelog
(which no-one caught :-) ).
diff --git a/ChangeLog b/ChangeLog
index c05c281..6dfc01e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
-2006-09-20 Andrew Stitt <astitt AT sourcemage.org>
+2006-08-21 Andrew Stitt <astitt AT sourcemage.org>
+ * libspell: propagate return code properly
+
+2006-08-20 Andrew Stitt <astitt AT sourcemage.org>
* libspell: new library for all spell execution (except DETAILS
for now). Handles inheritence scheme and creates function stubs
automatically for every file. Fixes bug 10914.
@@ -10,7 +13,7 @@
implicitly. Change default_<filename> functions to
default_sorcery_<filename> to remove confusion.
-2006-09-19 Andrew Stitt <astitt AT sourcemage.org>
+2006-08-19 Andrew Stitt <astitt AT sourcemage.org>
* libdepends: raise an error if a spell or provider name contains
a space
diff --git a/var/lib/sorcery/modules/libspell
b/var/lib/sorcery/modules/libspell
index c0bcfd5..79ecde0 100644
--- a/var/lib/sorcery/modules/libspell
+++ b/var/lib/sorcery/modules/libspell
@@ -110,10 +110,11 @@ private_default_section_generic() {
source "$SECTION_DIRECTORY/${1}"
else
default_grimoire_${2}
- fi
+ fi;rc=$?
eval "function real_default_${2}() {
default_section_${2}
}"
+ return $rc
}
#---------------------------------------------------------------------
@@ -127,10 +128,11 @@ private_default_grimoire_generic() {
source "$GRIMOIRE/${1}"
else
default_sorcery_${2}
- fi
+ fi;rc=$?
eval "function real_default_${2}() {
default_grimoire_${2}
}"
+ return $rc
}
#---------------------------------------------------------------------
- [SM-Commit] GIT changes to master sorcery by Andrew Stitt (91821f4bedf51a11496bcde43dc29129ba47127e), Andrew Stitt, 08/21/2006
Archive powered by MHonArc 2.6.24.