X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=scripts%2Fmono-find-provides.in;h=5b2e20602d5aa6ba0ab18adfd64134432ece4fb2;hb=HEAD;hp=5e440ab046bf8a6058aed1214e51a7ecc400234e;hpb=12461baf50da00c5d30f757af0e1891d7ebbef3b;p=mono.git diff --git a/scripts/mono-find-provides.in b/scripts/mono-find-provides.in index 5e440ab046b..5b2e20602d5 100644 --- a/scripts/mono-find-provides.in +++ b/scripts/mono-find-provides.in @@ -8,6 +8,8 @@ # (C) 2005 Novell (http://www.novell.com) # +if [ -n "$DISABLE_MONO_RPM_AUTO_DEPS" ]; then exit 0; fi + IFS=$'\n' filelist=($(grep -Ev '/usr/doc/|/usr/share/doc/')) monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$"))