Skip to Content.
Sympa Menu

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

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 (0029786f41545facda7e7ea2b3697277353d1b89)
  • Date: Wed, 26 Mar 2008 10:43:06 -0500

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

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

New commits:
commit 0029786f41545facda7e7ea2b3697277353d1b89
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

libcodex: silence the unused codex_remove_duplicates with real_list_find

diff --git a/ChangeLog b/ChangeLog
index 6f40ac0..6fb5903 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,7 @@
use real_list_find in private_run_depends
use real_list_find everywhere else
fixed real_show_up_depends showing false positives
+ * libcodex: silence the unused codex_remove_duplicates with
real_list_find

2008-03-25 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libsorcery: reformatted the files, directories and symlinks
functions and
diff --git a/var/lib/sorcery/modules/libcodex
b/var/lib/sorcery/modules/libcodex
index 4a74bf8..e145253 100755
--- a/var/lib/sorcery/modules/libcodex
+++ b/var/lib/sorcery/modules/libcodex
@@ -304,7 +304,7 @@ function codex_remove_duplicates() {

for CURRENT_GRIMOIRE in $GRIMOIRES; do
ALREADY_SEEN=""
- echo "$SEEN_GRIMOIRES" | grep "$CURRENT_GRIMOIRE" && ALREADY_SEEN="yes"
+ real_list_find "$SEEN_GRIMOIRES" "$CURRENT_GRIMOIRE" &&
ALREADY_SEEN="yes"

if [[ $ALREADY_SEEN ]]; then
SEEN_GRIMOIRES="$SEEN_GRIMOIRES $CURRENT_GRIMOIRE"



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (0029786f41545facda7e7ea2b3697277353d1b89), Jaka Kranjc, 03/26/2008

Archive powered by MHonArc 2.6.24.

Top of Page