MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Sat, 10 Sep 2011 09:48:33 +0200
branchmozilla-1.9.2
changeset 309 0e3ea8d0df6a
parent 278 436c76ab5f25
permissions -rw-r--r--
Firefox 3.6.22

#!/bin/sh
# Finds requirements provided outside of the current file set

filelist=$( sed "s/[]['\"*?{}]/\\\\\&/g" )
provides=$( echo "$filelist" | /usr/lib/rpm/find-provides )
echo "$filelist" \
    | /usr/lib/rpm/find-requires \
    | grep -F -v "$provides" \
    | sort -u