[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (9084c89a49ed459f73cd6c18ab9c027d04bba957)

Jaka Kranjc scm at sourcemage.org
Mon Jul 7 07:50:22 EDT 2008


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

 ChangeLog                       |    3 +++
 var/lib/sorcery/modules/libcast |   10 +++++-----
 2 files changed, 8 insertions(+), 5 deletions(-)

New commits:
commit 9084c89a49ed459f73cd6c18ab9c027d04bba957
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    libcast: removed extraneus spaces in acquire_cast_lock messages

diff --git a/ChangeLog b/ChangeLog
index 982e23e..0e6bc64 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2008-07-07 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* libcast: removed extraneus spaces in acquire_cast_lock messages
+
 2008-07-05 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
 	* libqueue: made the old method print all the reasons for queuing. This
 	  way the behaviour is consistent with the new method and multiversioned
diff --git a/var/lib/sorcery/modules/libcast b/var/lib/sorcery/modules/libcast
index 66f5fde..c0a1e8c 100755
--- a/var/lib/sorcery/modules/libcast
+++ b/var/lib/sorcery/modules/libcast
@@ -602,21 +602,21 @@ function install_initd() {
 function acquire_cast_lock() {
   # locking - blocks normal spells if a solo cast is running,
   # solo casts if any cast is running
-  message "${MESSAGE_COLOR}Waiting for any${DEFAULT_COLOR} ${FILE_COLOR}" \
+  message "${MESSAGE_COLOR}Waiting for any${DEFAULT_COLOR}${FILE_COLOR}" \
           "Solo${DEFAULT_COLOR} ${MESSAGE_COLOR}casts to complete..." \
           "${DEFAULT_COLOR}"
   lock_resources "solo" "cast"
   if test -f $SOLO && grep -q "^$SPELL$" $SOLO ||
      [ -f $SCRIPT_DIRECTORY/SOLO ]
   then #SOLO spell
-    message -n "${MESSAGE_COLOR}Waiting for${DEFAULT_COLOR} ${SPELL_COLOR}" \
+    message -n "${MESSAGE_COLOR}Waiting for${DEFAULT_COLOR}${SPELL_COLOR}" \
                "all other${DEFAULT_COLOR} ${MESSAGE_COLOR}spells to" \
-               " complete...${DEFAULT_COLOR}"
+               "complete...${DEFAULT_COLOR}"
     excllock_resources "cast" "$SPELL"
   else
     message -n "${MESSAGE_COLOR}Waiting for any other casts of" \
-               "${DEFAULT_COLOR} ${SPELL_COLOR}$SPELL${DEFAULT_COLOR}" \
-               " ${MESSAGE_COLOR}to complete...${DEFAULT_COLOR}"
+               "${DEFAULT_COLOR}${SPELL_COLOR}$SPELL${DEFAULT_COLOR}" \
+               "${MESSAGE_COLOR}to complete...${DEFAULT_COLOR}"
     lock_resources "cast" "$SPELL"
     unlock_resources "solo" "cast"
   fi



More information about the SM-Commit mailing list