Author: wade
Date: 2006-04-25 18:17:16 -0400 (Tue, 25 Apr 2006)
New Revision: 59881

Modified:
   trunk/mono/ChangeLog
   trunk/mono/scripts/mono-find-provides.in
   trunk/mono/scripts/mono-find-requires.in
Log:
* scripts/mono-find-provides.in: Only scan files that are in the gac.
This allows packages to contain private assemblies that won't conflict
with other packages. Fixes bugzilla.novell.com #144655.



Modified: trunk/mono/ChangeLog
===================================================================
--- trunk/mono/ChangeLog        2006-04-25 22:12:55 UTC (rev 59880)
+++ trunk/mono/ChangeLog        2006-04-25 22:17:16 UTC (rev 59881)
@@ -1,3 +1,9 @@
+2006-04-25  Wade Berrier <[EMAIL PROTECTED]>
+
+       * scripts/mono-find-provides.in: Only scan files that are in the gac.
+       This allows packages to contain private assemblies that won't conflict 
+       with other packages. Fixes bugzilla.novell.com #144655.
+
 2006-04-21  Alp Toker  <[EMAIL PROTECTED]>
 
        * scripts/mono-service.in: Usage info fixes:

Modified: trunk/mono/scripts/mono-find-provides.in
===================================================================
--- trunk/mono/scripts/mono-find-provides.in    2006-04-25 22:12:55 UTC (rev 
59880)
+++ trunk/mono/scripts/mono-find-provides.in    2006-04-25 22:17:16 UTC (rev 
59881)
@@ -12,6 +12,10 @@
 filelist=($(grep -Ev '/usr/doc/|/usr/share/doc/'))
 monolist=($(printf "%s\n" "[EMAIL PROTECTED]" | egrep "\\.(exe|dll)\$"))
 
+# Only include files with /gac/ in path
+#  (Allows packages to contain private assemblies that don't conflict with 
other packages)
+monolist=($(printf "%s\n" "[EMAIL PROTECTED]" | egrep "/gac/"))
+
 a=`which "$0"`
 d=`dirname "$a"`
 

Modified: trunk/mono/scripts/mono-find-requires.in
===================================================================
--- trunk/mono/scripts/mono-find-requires.in    2006-04-25 22:12:55 UTC (rev 
59880)
+++ trunk/mono/scripts/mono-find-requires.in    2006-04-25 22:17:16 UTC (rev 
59881)
@@ -80,7 +80,7 @@
 $REQUIRES" | sort | uniq -u)
 
 #
-# Of those, only chose the ones that are in REQUIRES
+# Of those, only choose the ones that are in REQUIRES
 #
 echo "$UNIQ
 $REQUIRES" | sort | uniq -d

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to