X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=scripts%2Fmono-find-requires.in;h=5e0ef2f1cfd35e650d84d380c553d3d108a48dc0;hb=HEAD;hp=d7b6a325bc32e17394b502c8ec800400359442e1;hpb=cc40e2e17dc6fd2dae6d3a4c7d7ab43570d63546;p=mono.git diff --git a/scripts/mono-find-requires.in b/scripts/mono-find-requires.in index d7b6a325bc3..5e0ef2f1cfd 100644 --- a/scripts/mono-find-requires.in +++ b/scripts/mono-find-requires.in @@ -9,6 +9,8 @@ # (C) 2008 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)\$"))