From: Wade Berrier Date: Tue, 25 Apr 2006 22:17:16 +0000 (-0000) Subject: * scripts/mono-find-provides.in: Only scan files that are in the gac. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=a7970e6a7806ff9b16cb7a6b0cba9e6b3edde46a;p=mono.git * 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. svn path=/trunk/mono/; revision=59881 --- diff --git a/ChangeLog b/ChangeLog index 34ebf62e363..d5612f23490 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-04-25 Wade Berrier + + * 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 * scripts/mono-service.in: Usage info fixes: diff --git a/scripts/mono-find-provides.in b/scripts/mono-find-provides.in index ba46722ae67..ff649639f47 100644 --- a/scripts/mono-find-provides.in +++ b/scripts/mono-find-provides.in @@ -12,6 +12,10 @@ IFS=$'\n' filelist=($(grep -Ev '/usr/doc/|/usr/share/doc/')) monolist=($(printf "%s\n" "${filelist[@]}" | 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" "${monolist[@]}" | egrep "/gac/")) + a=`which "$0"` d=`dirname "$a"` diff --git a/scripts/mono-find-requires.in b/scripts/mono-find-requires.in index 446d9fcfd2d..a721f23997f 100644 --- a/scripts/mono-find-requires.in +++ b/scripts/mono-find-requires.in @@ -80,7 +80,7 @@ UNIQ=$(echo "$PROVIDES $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