New commits:
commit ffa3356d87fd8279ac98981c6876018eabda4d51
Author: Andrew Stitt <astitt AT sourcemage.org>
Commit: Andrew Stitt <astitt AT sourcemage.org>
fix bug 12904
commit 4631bb891b672983e17612b6868700b780da1f5e
Author: Andrew Stitt <astitt AT sourcemage.org>
Commit: Andrew Stitt <astitt AT sourcemage.org>
fix bug 12847, fix gaze argument parsing
diff --git a/ChangeLog b/ChangeLog
index 9099037..7392da7 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-07-24 David Brown <dmlb2000 AT gmail.com>
* libstage: added config var for the debug level
* config: added the installwatch debug level variable and a comment
for
@@ -12,6 +16,9 @@
added chown of fifo's blocks and directories (fixes bug #12821)
2006-07-15 Andrew Stitt <astitt AT sourcemage.org>
+ * gaze: show help when unknown option encountered, bug 12847
+
+2006-07-15 Andrew Stitt <astitt AT sourcemage.org>
* archspecs: remove, users should get them from smgl-archspecs now
2006-07-10 Andrew Stitt <astitt AT sourcemage.org>
diff --git a/usr/sbin/gaze b/usr/sbin/gaze
index c6882b9..0ab941b 100755
--- a/usr/sbin/gaze
+++ b/usr/sbin/gaze
@@ -1960,6 +1960,7 @@ parse() {
done
shift 2
;;
+ *) help ; exit ;;
esac
done
diff --git a/var/lib/sorcery/modules/libstate
b/var/lib/sorcery/modules/libstate
index 22fd760..0fb6af7 100755
--- a/var/lib/sorcery/modules/libstate
+++ b/var/lib/sorcery/modules/libstate
@@ -148,14 +148,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
@@ -165,10 +163,9 @@ function get_depends_options()
return
}