Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] BZR Change 25 to devel sorcery by Andrew Stitt <astitt@sourcemage.org>

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: scm AT mail.sourcemage.org
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] BZR Change 25 to devel sorcery by Andrew Stitt <astitt AT sourcemage.org>
  • Date: Tue, 2 May 2006 00:35:02 -0500

------------------------------------------------------------
revno: 25
committer: Andrew Stitt <astitt AT sourcemage.org>
branch nick: devel-hack2
timestamp: Mon 2006-05-01 22:31:38 -0700
message:
fix search for default provider

=== modified file 'ChangeLog'
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,6 @@
+2006-05-01 Andrew Stitt <astitt AT sourcemage.org>
+ * libdepends: fix search for default provider
+
2006-04-23 Andrew Stitt <astitt AT sourcemage.org>
* libsorcery: fix bug 8070, add pager timeout for changelog viewing
* config: add a pager timeout, and use less -F instead of -E,

=== modified file 'var/lib/sorcery/modules/libdepends'
--- var/lib/sorcery/modules/libdepends
+++ var/lib/sorcery/modules/libdepends
@@ -860,7 +860,7 @@

# check if theres a default provider
if [[ ! $default ]]; then
- explode "$(search_default_provider $DEFAULT_PROVIDERS "" "$1")" ":"
"status"
+ explode "$(search_default_provider $DEFAULT_PROVIDERS ".*" "$1")" ":"
"status"
tmp=${status[0]}
[[ $tmp ]] && echo $CANDIDATES|grep -q "\<$tmp\>" && default=$tmp
fi
@@ -953,7 +953,7 @@

# check if theres a default provider
if [[ ! $default ]]; then
- tmp=$(search_default_provider $DEFAULT_PROVIDERS "" "$1")
+ tmp=$(search_default_provider $DEFAULT_PROVIDERS ".*" "$1")

# make sure we found /something/ before trying to analyze it
# otherwise we'll fall into the else case and use 'none' as the




  • [SM-Commit] BZR Change 25 to devel sorcery by Andrew Stitt <astitt AT sourcemage.org>, scm, 05/02/2006

Archive powered by MHonArc 2.6.24.

Top of Page