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

Jaka Kranjc scm at sourcemage.org
Tue Sep 9 09:02:10 EDT 2008


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

 ChangeLog                            |    4 ++++
 var/lib/sorcery/modules/libresurrect |    9 +++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

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

    libresurrect: fixed the lookup of queueing factors from the new
          tablet

diff --git a/ChangeLog b/ChangeLog
index dc2bcc3..d2552ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-09 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* libresurrect: fixed the lookup of queueing factors from the new
+	  tablet
+
 2008-09-08 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
 	* dispel: moved the downgrade code into a separate tool
 	* resurrect: added script for resurrecting spells, currently an
diff --git a/var/lib/sorcery/modules/libresurrect b/var/lib/sorcery/modules/libresurrect
index b7d2525..adf460b 100755
--- a/var/lib/sorcery/modules/libresurrect
+++ b/var/lib/sorcery/modules/libresurrect
@@ -610,11 +610,12 @@ function resurrect_success() {
 
   tablet_check_version_cache "$VERSION_STATUS" &&
   (
-    if tablet_find_spell_dir $SPELL page_dir && [[ $new_tablet ]]; then
-      tablet_get_patchlevel $page_dir PATCHLEVEL
-      tablet_get_security_patch $page_dir SECURITY_PATCH
-      tablet_get_updated $page_dir UPDATED
+    if [[ $new_tablet ]]; then
+      tablet_get_patchlevel $new_tablet PATCHLEVEL
+      tablet_get_security_patch $new_tablet SECURITY_PATCH
+      tablet_get_updated $new_tablet UPDATED
     else
+      debug "libresurrect" "bad tablet for version cache; new_tablet: $new_tablet"
       # we don't have a good tablet, so we don't know what we just resurrected
       # insert dummy values
       UPDATED=0



More information about the SM-Commit mailing list