MozillaFirefox/find-external-requires.sh
author Adrian Schröter <adrian@suse.de>
Fri, 25 May 2012 09:12:54 +0200
changeset 457 0c2249d015b6
parent 279 eb9e33036fb4
permissions -rw-r--r--
fixed ARM build

#!/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