MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Sat, 16 Feb 2013 18:30:18 +0100
branchfirefox19
changeset 614 b1af618c9569
parent 279 eb9e33036fb4
permissions -rw-r--r--
add build hw constraints

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