sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Andrew Stitt (8db432230407418cfdcda478acb02deb6fd15047)
- From: Andrew Stitt <scm AT mail.sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master sorcery by Andrew Stitt (8db432230407418cfdcda478acb02deb6fd15047)
- Date: Sat, 29 Jul 2006 13:03:33 -0500
GIT changes to master sorcery by Andrew Stitt <astitt AT sourcemage.org>:
ChangeLog | 3 +++
var/lib/sorcery/modules/libdepends | 8 ++++----
2 files changed, 7 insertions(+), 4 deletions(-)
New commits:
commit 8db432230407418cfdcda478acb02deb6fd15047
Author: Andrew Stitt <astitt AT sourcemage.org>
Commit: Andrew Stitt <astitt AT sourcemage.org>
fix bug 12862
diff --git a/ChangeLog b/ChangeLog
index 7392da7..6631afc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
2006-07-29 Andrew Stitt <astitt AT sourcemage.org>
+ * libdepends: fix bug 12862, change default behavior of
show_up_depends
+
+2006-07-29 Andrew Stitt <astitt AT sourcemage.org>
* libstate: fix bug 12904, get_depends_options is broken with
spellnames containing regexp characters. Patch from Jaka Kranjc
diff --git a/var/lib/sorcery/modules/libdepends
b/var/lib/sorcery/modules/libdepends
index 5a18023..f3e126e 100755
--- a/var/lib/sorcery/modules/libdepends
+++ b/var/lib/sorcery/modules/libdepends
@@ -1594,7 +1594,7 @@ function real_show_up_depends()
{
local i=0
local MAX_DEPTH=$2
- local fast=$3
+ local type=$3
function show_up_depends_sub() {
local each
let i++
@@ -1610,12 +1610,12 @@ function real_show_up_depends()
hash_reset foo
hash_reset done
compute_reverse_installed_depends foo
- if [[ $fast ]] ; then
- show_up_depends_sub "$1"|cut -f1 -d:
- else
+ if [[ "$type" == "verbose" ]] ; then
show_up_depends_sub "$1"|while read line; do
grep "$line" "$DEPENDS_STATUS"
done
+ else
+ show_up_depends_sub "$1"|cut -f1 -d:
fi|sort|uniq
hash_reset foo
hash_reset done
- [SM-Commit] GIT changes to master sorcery by Andrew Stitt (8db432230407418cfdcda478acb02deb6fd15047), Andrew Stitt, 07/29/2006
Archive powered by MHonArc 2.6.24.