New commits:
commit 16cd6dd373720c25b25ba526ed746d9be1607c23
Author: Robert Figura <template AT sourcemage.org>
Commit: Robert Figura <template AT sourcemage.org>
libtablet: Fix typo and #378: Don't trash tablet cache right after
creating
diff --git a/ChangeLog b/ChangeLog
index db3fb14..c1f6802 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-22 Robert Figura <template AT sourcemage.org>
+ * libtablet: Fix typo and issue #378: Don't trash tablet cache right
+ after creating it
+
2013-03-16 Ismael Luceno <ismael AT sourcemage.org>
* dl_git: Simpified handling, fixes checkout of tags
diff --git a/var/lib/sorcery/modules/libtablet
b/var/lib/sorcery/modules/libtablet
index 9950187..4c829e1 100755
--- a/var/lib/sorcery/modules/libtablet
+++ b/var/lib/sorcery/modules/libtablet
@@ -771,7 +771,7 @@ function tablet_create_version_cache() {
# we can't set rc inside the loop, since it is in a subshell and
# the rc of break 13 still does not match what is documented in bash 4.2.24
- if [[ ${#ok_spells[@]} != $(wc -l $file) ]]; then
+ if [[ ${#ok_spells[@]} != $(wc -l < $file) ]]; then
rm $file
return 1
fi
[SM-Commit] GIT changes to master sorcery by Robert Figura (16cd6dd373720c25b25ba526ed746d9be1607c23),
Robert Figura, 04/22/2013