diff options
Diffstat (limited to 'find-requires.in')
-rwxr-xr-x | find-requires.in | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/find-requires.in b/find-requires.in index b3a2b5f..6d742e5 100755 --- a/find-requires.in +++ b/find-requires.in @@ -116,9 +116,25 @@ uniqdeplist+="$tmpdeplist" for f in $scriptlist; do [ -r $f -a -x $f ] || continue interp=`head -n 1 $f | grep '^#!' | sed -e 's/^\#\![ ]*//' | cut -d" " -f1` - interplist="$interplist $interp" case $interp in - */perl) perllist="$perllist $f" ;; + # we really don't need to add these dependencies as they're required by + # glibc and therefore guaranteed to be satisfied + */sh|*/bash) + continue + ;; + # we already have dedicated dependency generators for these + */python) + pythonlist="$pythonlist $f" + ;; + */perl) + perllist="$perllist $f" + ;; + */ruby) + rubylist="$rubylist $f" + ;; + *) + interplist="$interplist $interp" + ;; esac done if [ -n "$interplist" ]; then |