Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (9f2359675dc63c30172a86aa97699d3be6b3376a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (9f2359675dc63c30172a86aa97699d3be6b3376a)
  • Date: Wed, 23 Jan 2008 11:58:45 -0600

GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

ChangeLog | 1 +
var/lib/sorcery/modules/libgrimoire | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 9f2359675dc63c30172a86aa97699d3be6b3376a
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

libgrimoire: fixed private_installed_version to match regex chars too

diff --git a/ChangeLog b/ChangeLog
index d785620..d932a2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
was a file; if it wasn't, the code would lock the trigger list
forever
fixed bug #13466 - dispel_self was dispelling the triggerer
* dispel.8: added --total-dispel and fixed some grammar
+ * libgrimoire: fixed private_installed_version to match regex chars
too

2008-01-22 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libstate: moved the subshell from the callers into
query_spell_status and
diff --git a/var/lib/sorcery/modules/libgrimoire
b/var/lib/sorcery/modules/libgrimoire
index afe1898..40705ce 100755
--- a/var/lib/sorcery/modules/libgrimoire
+++ b/var/lib/sorcery/modules/libgrimoire
@@ -204,7 +204,7 @@ function real_installed_version() {
##
#---------------------------------------------------------------------
function private_installed_version() {
- awk -F : '/^'$1':/ {print $4; exit}' $SPELL_STATUS
+ awk -F: -v spell="$1" '{ if(spell == $1) {print $4; exit}}' $SPELL_STATUS
}

#---------------------------------------------------------------------



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (9f2359675dc63c30172a86aa97699d3be6b3376a), Jaka Kranjc, 01/23/2008

Archive powered by MHonArc 2.6.24.

Top of Page