New commits:
commit 873436514cd6d95d0f8e49d8a0c2ff17d0eba118
Author: Andrew Stitt <astitt AT sourcemage.org>
Commit: Andrew Stitt <astitt AT sourcemage.org>
fix bug 12904
(cherry picked from ffa3356d87fd8279ac98981c6876018eabda4d51 commit)
diff --git a/ChangeLog b/ChangeLog
index 01ea775..b771349 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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
+
2006-06-23 Andrew Stitt <astitt AT sourcemage.org>
* libtrack: add code so sorcery works with installwatch 7
diff --git a/var/lib/sorcery/modules/libstate
b/var/lib/sorcery/modules/libstate
index 2f40b1e..be868c8 100755
--- a/var/lib/sorcery/modules/libstate
+++ b/var/lib/sorcery/modules/libstate
@@ -141,14 +141,12 @@ ## @param dependency spell
## @Stdout list of options
##
## Returns a list of options for ./configure from $1
-## If the second argument is given, returns options for the
-## matching pair of spell:dependency
## Primarily aimed at generating $OPTS contents
##
## Prints out one line of output
#---------------------------------------------------------------------
function get_depends_options()
-{ # $1=depends_status $2=spell [$3]=dependency spell
+{ # $1=depends_status $2=spell
local depends_status=$1
shift
@@ -158,10 +156,9 @@ function get_depends_options()
return
}