diff options
author | Mike Kestner <mkestner@gmail.com> | 2005-12-01 17:05:30 +0300 |
---|---|---|
committer | Mike Kestner <mkestner@gmail.com> | 2005-12-01 17:05:30 +0300 |
commit | 5c882379b3784e95999c614691f9d7807ddde5d5 (patch) | |
tree | 736074dbc793fbdb40b6717301ab56aac426a044 /scripts | |
parent | 55b9e6ded30cb5a238b3364aef4f09e72ce1c252 (diff) |
2005-12-01 Mike Kestner <mkestner@novell.com>
* scripts/mono-find-provides.in: support policy assemblies.
svn path=/trunk/mono/; revision=53764
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mono-find-provides.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/mono-find-provides.in b/scripts/mono-find-provides.in index 7f677202006..ba46722ae67 100644 --- a/scripts/mono-find-provides.in +++ b/scripts/mono-find-provides.in @@ -35,6 +35,14 @@ for i in "${monolist[@]}"; do /^Version:/ { VERSION=$2 } /^Name:/ { LIBNAME=$2 } END { + if (LIBNAME ~ /^policy/) { + cnt = split(LIBNAME, toks, ".") + VERSION=toks[2] "." toks[3] ".0.0" + LIBNAME="" + for (i=4; i<= cnt; i++) + LIBNAME = (LIBNAME toks[i] ".") + LIBNAME=substr(LIBNAME, 1, length(LIBNAME)-1) + } if (VERSION && LIBNAME) print "mono(" LIBNAME ") = " VERSION } |